Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6330

Could not resolve class [net.sf.wicketautodao.model.AutoDaoFinder]

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 7.6.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Jetty 9.2.6 ; wicket 7.6.0 ; spring 4.2.4 ; javax.servlet 3.0.1

      Description

      Hello!
      When I am refreshing page with native websocket I get the next message:

      java.lang.ClassNotFoundException: net.sf.wicketautodao.model.AutoDaoFinder
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) ~[plexus-classworlds-2.5.2.jar:na]
      at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) ~[plexus-classworlds-2.5.2.jar:na]
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) ~[plexus-classworlds-2.5.2.jar:na]
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) ~[plexus-classworlds-2.5.2.jar:na]
      at java.lang.Class.forName0(Native Method) ~[na:1.8.0_112]
      at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_112]
      at org.apache.wicket.application.AbstractClassResolver.resolveClass(AbstractClassResolver.java:101) ~[wicket-core-7.6.0.jar:7.6.0]
      at org.apache.wicket.core.util.lang.WicketObjects.resolveClass(WicketObjects.java:71) ~[wicket-core-7.6.0.jar:7.6.0]
      at org.apache.wicket.proxy.LazyInitProxyFactory$ProxyReplacement.readResolve(LazyInitProxyFactory.java:262) [wicket-ioc-7.6.0.jar:7.6.0]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_112]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_112]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_112]
      at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_112]
      at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1148) [na:1.8.0_112]

      Why are you using non-standard classloader in AbstractClassResolver.java:101 ?

      full log attached in log.txt

        Attachments

        1. quickStartApp.zip
          24 kB
          Mikhail Kim
        2. log.txt
          14 kB
          Mikhail Kim

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              m.kim Mikhail Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: