Bugs item #1177726, was opened at 2005-04-06 09:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1177726&group_id=119783

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Denis Robert (drobert_bfm)
Assigned to: Nobody/Anonymous (nobody)
Summary: com.sun.crypto.provider.SunJCE: NoClassDefFoundError

Initial Comment:
under Tomcat 5.5.7, JDK1.5.0_02, I received the
following when trying to start a simple app based on 
the HelloWorld example:


java.lang.NoClassDefFoundError:
com/sun/crypto/provider/SunJCE
        java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:164)
wicket.ApplicationSettings.class$(ApplicationSettings.java:136)
wicket.ApplicationSettings.<init>(ApplicationSettings.java:160)
        wicket.Application.<init>(Application.java:145)
wicket.protocol.http.WebApplication.<init>(WebApplication.java:81)
bm.bfm.wicket.HelloWorldApplication.<init>(HelloWorldApplication.java:5)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        java.lang.Class.newInstance0(Class.java:350)
        java.lang.Class.newInstance(Class.java:303)
wicket.protocol.http.WicketServlet.init(WicketServlet.java:101)
        javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        java.lang.Thread.run(Thread.java:595)

The SunJCE provider jar (sunjce_provider.jar) is an
optional redistributable and should not be taken for
granted. Unfortunately, the SunJceCrypt class has this
provider hardcoded:

static
        {
                // Initialize and add a security provider required
for encryption
                Security.addProvider(new
com.sun.crypto.provider.SunJCE());
        }


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1177726&group_id=119783


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to