• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

new to struts-probs initially

 
Deepa Korecherla
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam new to struts. I have struts 1.1 and tomcat 3.2.1 and also j2sdk1.4 installed successfully........As acc. to many sites I started on an application..copying the struts-blank.war file to my web apps directory.Now when i start tomcat ...i'm getting errors. I've done some others programs with tomcat, but never got error.
I tried updating the server.xml file also..but..the error is still coming..where could be the problem??
pls help
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i start tomcat ...i'm getting errors

But you never told us what errors you are getting. And is there a reason you are running such an old version of Tomcat?
 
Deepa Korecherla
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The errors that I'm getting are---

[ERROR] MessageResourcesFactory - -MessageResourcesFactory.createFactory <java.l
ang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResourcesFacto
ry>java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResou
rcesFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.jav
a:207)
at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageR
esourcesFactory.java:192)
at org.apache.struts.util.MessageResources.getMessageResources(MessageRe
sources.java:576)
at org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:134)
at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageR
esourcesFactory.java:192)
at org.apache.struts.util.MessageResources.getMessageResources(MessageRe
sources.java:576)
at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.jav
a:1329)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)

at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOn
StartupInterceptor.java:130)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java
:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

[ERROR] MessageResourcesFactory - -MessageResourcesFactory.createFactory <java.l
ang.ExceptionInInitializerError>java.lang.ExceptionInInitializerError: java.lang
.NullPointerException
at org.apache.struts.util.MessageResources.getMessageResources(MessageRe
sources.java:577)
at org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:134)
at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageR
esourcesFactory.java:192)
at org.apache.struts.util.MessageResources.getMessageResources(MessageRe
sources.java:576)
at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.jav
a:1329)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)

at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOn
StartupInterceptor.java:130)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java
:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

cannot load servlet name: action

can anyone help??
any problem for now...if i use tomcat 3.2.1?? will struts work on this..Also answer to my errors..
ThankU
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic