This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes new to struts-probs initially Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "new to struts-probs initially" Watch "new to struts-probs initially" New topic
Author

new to struts-probs initially

Deepa Korecherla
Ranch Hand

Joined: Jul 14, 2004
Posts: 197
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


DKR<br />SCJP1.2,SCWCD1.4,SCBCD1.3,SCJA
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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?


GenRocket - Experts at Building Test Data
Deepa Korecherla
Ranch Hand

Joined: Jul 14, 2004
Posts: 197
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
 
GeeCON Prague 2014
 
subject: new to struts-probs initially