tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Tomee/Openejb can't seem to find jsp precompiled servlet class
Date Thu, 31 Jan 2013 08:57:51 GMT
Hi,

can you reproduce it in a shareable project?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/1/31 mommymutya <gcalupig@yahoo.com>

> I am having this error:
> Caused by: org.apache.tomee.catalina.TomEERuntimeException:
> org.apache.openejb.OpenEJBException: Unable to load servlet class:
> org.apache.jsp.versionMessage_jsp: org.apache.jsp.versionMessage_jsp
>     at
>
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1924)
>     at
>
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1691)
>     at
>
> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:336)
>     at
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:363)
>     at
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:850)
>     at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:881)
>     ... 17 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.jsp.versionMessage_jsp
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:264)
>     at
> org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:94)
>     at
> org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:67)
>
>  This the setup:
> 1. versionMessage.jsp is precompiled via org.apache.jasper.JspC
> 2. web.xml is declaration is as follows:
>
>   <servlet>
>         <servlet-name>org.apache.jsp.versionMessage_jsp</servlet-name>
>         <servlet-class>org.apache.jsp.versionMessage_jsp</servlet-class>
>     </servlet>
>     <servlet-mapping>
>         <servlet-name>org.apache.jsp.versionMessage_jsp</servlet-name>
>         <url-pattern>/versionMessage.jsp</url-pattern>
>     </servlet-mapping>
>  3.If I don't precompile the jsp, just raw jsp is included in the war,
> there
> is no problem.
>  4. I am using tomee webprofile 1.5.1
>  5. I tried copying the org.apache.* from the classes folder to
> work\Catalina\localhost\_ and in the web context folder but still didn't
> work.
>
> What could I be missing?
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Tomee-Openejb-can-t-seem-to-find-jsp-precompiled-servlet-class-tp4660481.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message