tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Lewis <the.warl0ck.1...@gmail.com>
Subject How to use Jasper class?
Date Wed, 30 Jul 2014 07:43:41 GMT
Hi,

I'm trying to build a minimal JSP container, just like winstone
http://winstone.sourceforge.net/#commandLine

But with tc 7.0.55 it doesn't seem to work, so I had to find my own
ways around the Jasper class:
Error initializing web application: prefix []
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
        at org.apache.jasper.servlet.JspServlet.<init>(JspServlet.java:68)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.Class.newInstance(Class.java:374)
        at winstone.ServletConfiguration.ensureInitialization(ServletConfiguration.java:178)
        at winstone.WebAppConfiguration.<init>(WebAppConfiguration.java:918)
        at winstone.HostConfiguration.initWebApp(HostConfiguration.java:131)
        at winstone.HostConfiguration.<init>(HostConfiguration.java:73)
        at winstone.HostGroup.initHost(HostGroup.java:85)
        at winstone.HostGroup.<init>(HostGroup.java:45)
        at winstone.Launcher.<init>(Launcher.java:196)
        at winstone.Launcher.main(Launcher.java:391)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
        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:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

So, is there any example code with Jasper class?


-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message