Thank you very much Nils, you've spotted the problem - the action class was packed in a .jar file which was outside the .war module. When I placed it in the .war everything worked smoothly.
Best regards, On Tue, Nov 25, 2008 at 1:14 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > You'll probably save yourself a lot of troubles putting the jar files > inside the WEB-INF/lib folder of your war. What was your structure > like when it didn't work? Was your actions in your war file as well? > > Nils-H > > On Tue, Nov 25, 2008 at 12:09 PM, Dimitar Vlasev <[EMAIL PROTECTED]> wrote: >> Hi, >> I'm having problem to configure web application enclosed in .ear module. >> I'm using Struts 2.0.12 and JBoss 4.2.3 running on java 1.6. >> >> The application is in .war module, which is placed inside .ear module. >> [In fact this is small test application for me to get used with the >> new features in Struts 2] >> When I implemented SessionAware in my test action, I had .ear >> deployment exception which said that classloader can't find >> org.apache.struts2.interceptor.SessionAware >> I can get around this problem if I place the struts2-core.jar outside >> the web-app.war but then I have problems referring to /struts-tags in >> .jsp files: >> <%@ taglib prefix="s" uri="/struts-tags" %> >> >> And I'm not sure whether other problems might appear with this >> configuration in future (like using themes which I thing depend on >> content in the /templates folder of the struts2-core.jar) >> >> Any ideas how to overcome this obstacle - I mean besides splitting the >> struts2-core.jar in two and placing it's parts where needed. >> >> Thank you in advance. >> >> -- >> =============== >> Dimitar Vlasev >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- =============== Dimitar Vlasev --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]