Hi Wayne,
sorry. ok i'll explain more. ok i have a working war with struts actions
and forms. if i deploy only the war alone it works fine. when i pack it into
an ear with maven ear plugin it , some of the struts action and form classes
cannot be found.
the error messages look like this :
22:25:40,078 ERROR [RequestUtils] Error creating form bean of class
de.xx.xx.strutsForms.common.nonTechnicalCategories.NonTechnicalCat
egoryManagemanetForm
java.lang.ClassNotFoundException: de.xx.xx.strutsForms
.common.nonTechnicalCategories.NonTechnicalCategoryManagemanetForm
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.jav
a:207)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:231)
at
org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.jav
a:837)
at
org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:552)
at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520)
at
org.apache.jsp.worktime_jsp._jspx_meth_html_form_0(worktime_jsp.java:
93)
at org.apache.jsp.worktime_jsp._jspService(worktime_jsp.java:70)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:324)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
does it have anything to do with the classpath ?
--
View this message in context:
http://www.nabble.com/Problem-with-ear-tf2583929s177.html#a7207751
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]