org.neuroph.core.exceptions.NeurophException

tip

Check if the version of resteasy is using is the same JBoss is using. To find it out, search for resteasy-jaxrs* in JBoss/Wildfly directory and at your pom.xml.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    • org.neuroph.core.exceptions.NeurophException: Class not found while trying to read neural network from file! at org.neuroph.core.NeuralNetwork.createFromFile(NeuralNetwork.java:708)[neuroph-core-2.9.jar:] at org.neuroph.core.NeuralNetwork.createFromFile(NeuralNetwork.java:722)[neuroph-core-2.9.jar:] at com.rn.controller.TestarRNService.testaRedeNeural(TestarRNService.java:138)[classes:] at com.rn.controller.TestarRNService.testeMLP(TestarRNService.java:57)[classes:] at com.rn.controller.TestaRNController.doPost(TestaRNController.java:64)[classes:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at com.ic.filter.ConnectionFilter.doFilter(ConnectionFilter.java:64)[classes:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at com.ic.filter.SecurityFilter.doFilter(SecurityFilter.java:36)[classes:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)[sitemesh-2.4.jar:] at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)[sitemesh-2.4.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166)[undertow-servlet-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759)[undertow-core-1.1.0.Final.jar:1.1.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_45] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_45] Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.Slf4jLogger from [Module "deployment.IC.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)[jboss-modules.jar:1.3.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)[jboss-modules.jar:1.3.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)[jboss-modules.jar:1.3.3.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)[jboss-modules.jar:1.3.3.Final] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)[jboss-modules.jar:1.3.3.Final] at java.lang.Class.forName0(Native Method)[rt.jar:1.8.0_45] at java.lang.Class.forName(Class.java:348)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:626)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1613)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:501)[rt.jar:1.8.0_45] at org.neuroph.core.learning.LearningRule.readObject(LearningRule.java:167)[neuroph-core-2.9.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[rt.jar:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[rt.jar:1.8.0_45] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:501)[rt.jar:1.8.0_45] at org.neuroph.core.NeuralNetwork.readObject(NeuralNetwork.java:682)[neuroph-core-2.9.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.8.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[rt.jar:1.8.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.8.0_45] at java.lang.reflect.Method.invoke(Method.java:497)[rt.jar:1.8.0_45] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)[rt.jar:1.8.0_45] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)[rt.jar:1.8.0_45] at org.neuroph.core.NeuralNetwork.createFromFile(NeuralNetwork.java:701)[neuroph-core-2.9.jar:] ... 44 more

    Users with the same issue

    Andreas Häber
    1 times, last one,
    Unknown visitor1 times, last one,
    andyglick
    92 times, last one,
    Cafecanudo
    3 times, last one,
    Unknown visitor1 times, last one,
    81 more bugmates