There seems to be a problem with the jsp compilation with JBoss 2.4.3-Jetty 3.1.3
I have an application packaged as an ear file. It packages a war file, a jar file with ejbs and some jar files without ejbs. The war file doesn't contain any class files.
Although the servlets can see the classes packaged in the jar files (they execute just fine), when the compiler is invoked on the generated java from the jsp files, it fails because its classpath doesn't include those jars.
There is an obvious workaround: adding a copy of the classes in the war file. However, I'm pretty sure this is not the expected behavior.
Willing to provide more info if it's needed.
Yes, there is. Please add the JAR files with the desired classes into /WEB-INF/lib and it will work like a charm.