Note: I'm using IDEA 4.0 and
Tomcat 5.0.18
I have expirienced a problem that I never had had before.
I'm at the very beginning of my new
Struts application
and I started it with struts-blank app. Only few modifications
but constantly getting error:
SEVERE: Parsing error processing resource path /WEB-INF/struts-config.xml
java.lang.NullPointerException
at org.apache.struts.action.ActionServlet.initApplicationConfig(ActionServlet.java:857)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:455)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3960)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4283)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
...
What is going on? Can not figure out. Everything seems to be OK.
Another thing to note!
I had to use direct URI like:
uri="http://jakarta.apache.org/struts/tags-html-1.0"
in my taglib directive in my
JSP page, because Tomcat complained that it can not find physical location of *.tld files when using aliases in taglib directive.
Very strange!
See
https://coderanch.com/t/84015/Tomcat/Tomcat-not-find-Tag-Libs