LeanMoreTryMore
asked on
JSP + Struts: Error 9 java.lang.NoSuchFieldError: org.apache.log4j.Priority.INFO)
I need to create jsp page using struts
First i follow the below link
http://www.oracle.com/technology/obe/obe9051jdev/strutsvalidator/validator.htm#o
But when i run i got the following error.
500 Internal Server Error
java.lang.NoSuchFieldError : org.apache.log4j.Priority. INFO <=== i got no idea where to cause this problem
at org.apache.commons.logging .impl.Log4 JLogger.in fo(Log4JLo gger.java: 152)
at org.apache.struts.util.Pro pertyMessa geResource s.<init>(P ropertyMes sageResour ces.java:1 27)
at org.apache.struts.util.Pro pertyMessa geResource sFactory.c reateResou rces(Prope rtyMessage ResourcesF actory.jav a:90)
at org.apache.struts.util.Mes sageResour ces.getMes sageResour ces(Messag eResources .java:577)
at org.apache.struts.action.A ctionServl et.initInt ernal(Acti onServlet. java:1329)
at org.apache.struts.action.A ctionServl et.init(Ac tionServle t.java:464 )
Please help urgent
First i follow the below link
http://www.oracle.com/technology/obe/obe9051jdev/strutsvalidator/validator.htm#o
But when i run i got the following error.
500 Internal Server Error
java.lang.NoSuchFieldError
at org.apache.commons.logging
at org.apache.struts.util.Pro
at org.apache.struts.util.Pro
at org.apache.struts.util.Mes
at org.apache.struts.action.A
at org.apache.struts.action.A
Please help urgent
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Make sure you have both log4j.jar and commons-logging.jar in your classpath
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it works.
that's exactly the problem is.
MANY THANKS
that's exactly the problem is.
MANY THANKS
u r welcome