This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to create a basic sample web application using Struts2. I am using Weblogic 11g server and eclipse IDE. I have added the necessary jar files under WEB-INF/lib.
Web.xml main code:
However I am getting the following error at server start up:
Am I missing anything in configuration. Following jars has been added:
I had tried to google but not able to find the right resolution. Any help will be much appreciated.
when i first started using struts2, i had the same problem. i tried getting solution but nobody gave a good answer. they said i should put it in my classpath. if it will help you. but i'm using Netbeans now. goodluck
Check after deploying is it adding struts-core jar file in WEB-INF/lib folder.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Thanks for your reply Kessy and Mohan.
I have checked the auto generated ear and I can see the presence of the struts2-core-126.96.36.199.jar under
Not sure why it is mentioning that could not load user defined filter in web.xml.
I have resolved this issue. Basically as a part of the Weblogic Server configuration I had copied the application jars under user domain -> lib folder. And similar jars being present in the WEB-INF/lib folder. However I figured out from the classloader analysis that the application was having conflicting library jars. So I have removed my external jars from the weblogic user domain library. Now it is working fine.