java.lang.ClassNotFoundException: com.my.PreferencesFactory from [Module "org.jboss.as.jmx:main" from local module loader @76a3e297 (finder: local module finder @4d3167f4 (roots: /CSA_wildfly/wildfly/modules,/CSA_wildfly/wildfly/modules/system/layers/base))]

Stack Overflow | Kiran Mohan | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    WildFly + java Preferences cannot find custom preferences class in classpath

    Stack Overflow | 8 months ago | Kiran Mohan
    java.lang.ClassNotFoundException: com.my.PreferencesFactory from [Module "org.jboss.as.jmx:main" from local module loader @76a3e297 (finder: local module finder @4d3167f4 (roots: /CSA_wildfly/wildfly/modules,/CSA_wildfly/wildfly/modules/system/layers/base))]
  2. 0

    java.lang.ClassNotFoundException: javax.enterprise.event.Event

    Stack Overflow | 1 year ago | Serj Malko
    java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class by.mass.service.MemberRegistration with ClassLoader ModuleClassLoader for Module \"deployment.dtest-ear.ear.dtest-ejb.jar:main\" from Service Module Loader Caused by: java.lang.NoClassDefFoundError: Ljavax/enterprise/event/Event; Caused by: java.lang.ClassNotFoundException: javax.enterprise.event.Event from [Module \"deployment.dtest-ear.ear.dtest-ejb.jar:main\" from Service Module Loader]"}} In log: ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."dtest-ear.ear"."dtest-ejb.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."dtest-ear.ear"."dtest-ejb.jar".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of subdeployment "dtest-ejb.jar" of deployment "dtest-ear.ear"
  3. 0

    Spring MVC: Construa aplicações responsivas com Bootstrap – Parte 2

    com.br | 7 months ago
    clinicajm.UndertowDeploymentInfoService: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./clinicajm.UndertowDeploymentInfoService: java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet from [Module "deployment.clinicajm.war:main" from Service Module Loader]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 101#127585680

    GitHub | 2 years ago | mchugunov
    java.lang.ClassNotFoundException: com.project.emptywar.Main from [Module "org.wildfly.swarm.bootstrap:main" from BootModuleLoader@4f8e5cde for finders [org.wildfly.swarm.bootstrap.modules.BootstrapClasspathModuleFinder@504bae78, org.wildfly.swarm.bootstrap.modules.BootstrapModuleFinder@3b764bce, org.wildfly.swarm.bootstrap.modules.ClasspathModuleFinder@759ebb3d, org.wildfly.swarm.bootstrap.modules.AppDependenciesModuleFinder@484b61fc]]
  6. 0

    Running mvn wildfly-swarm:run fails in Docker container

    GitHub | 2 years ago | thomasandersen77
    java.lang.ClassNotFoundException: org.wildfly.swarm.Swarm from [Module "org.wildfly.swarm.bootstrap:main" from BootModuleLoader@531d72ca for finders [org.wildfly.swarm.bootstrap.modules.BootstrapClasspathModuleFinder@22d8cfe0, org.wildfly.swarm.bootstrap.modules.BootstrapModuleFinder@579bb367, org.wildfly.swarm.bootstrap.modules.ClasspathModuleFinder@1de0aca6, org.wildfly.swarm.bootstrap.modules.AppDependenciesModuleFinder@255316f2]]

  1. Andreas Häber 1 times, last 2 weeks ago
  2. MoYapro 2 times, last 3 months ago
  3. Reich 8 times, last 4 months ago
  4. andyglick 1 times, last 5 months ago
  5. Cafecanudo 3 times, last 5 months ago
3 more registered users
75 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.my.PreferencesFactory from [Module "org.jboss.as.jmx:main" from local module loader @76a3e297 (finder: local module finder @4d3167f4 (roots: /CSA_wildfly/wildfly/modules,/CSA_wildfly/wildfly/modules/system/layers/base))]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)
    4. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)
    5. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)
    5 frames
  3. Java RT
    Preferences.factory
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:348)
    3. java.util.prefs.Preferences.factory(Preferences.java:254)
    3 frames