On Mar 6, 2011, at 1:19 PM, Jonathan Gallimore wrote:
> Hi,
>
> I'm deploying a sample application which uses JSTL (just a single entity
> application with a JSTL CRUD web interface generated with the wizards in
> Netbeans). I'm getting this stack trace:
>
> java.lang.NoClassDefFoundError:
> javax/servlet/jsp/jstl/core/ConditionalTagSupport
> at java.lang.ClassLoader.defineClass1(Native Method)
Maybe we need to include that spec in the javaee-api jar?
> org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:139)
I know the TempClassLoader has some logic to specially handle "javax" packages.
Might be something here causing the issue.
If that is the case, we might have to be clever with that logic or do some
really good logging or both.
> What's really frustrating is that wrapping the deploy method in
> AnnotationDeployer like so:
>
> public AppModule deploy(AppModule appModule) throws OpenEJBException {
>
> setModule(appModule);
>
> try {
>
> appModule = discoverAnnotatedBeans.deploy(appModule);
>
> appModule = envEntriesPropertiesDeployer.deploy(appModule);
>
> appModule = processAnnotatedBeans.deploy(appModule);
>
> return appModule;
>
> } catch (Exception e) {
>
> e.printStackTrace();
>
> throw new OpenEJBException(e);
>
> } finally {
>
> removeModule();
>
> }
>
> }
>
>
> doesn't seem to stop on my e.printStackTrace()
Error doesn't subclass from Exception. Frustration and lack of sleep does that
to us all :)
-David