Samebug tips9

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3

Solution icon of stackoverflow

Solution icon of github
org.wildfly.swarm.Swarm from [Module "org.wildfly.swarm.bootstrap:main" from BootModuleLoader@531d72ca for finders [org.wildfly.swarm.bootstrap.modules.BootstrapClasspathModuleFinder@22d8cfe0

Solution icon of github
org.wildfly.swarm.Swarm from [Module "swarm.application:main" from BootModuleLoader@27c170f0 for finders [org.wildfly.swarm.bootstrap.modules.BootstrapClasspathModuleFinder@5451c3a8, org.wildfly.swarm.bootstrap.modules.BootstrapModuleFinder@2626b418, org.wildfly.swarm.bootstrap.modules.ClasspathModuleFinder@5a07e868, org.wildfly.swarm.bootstrap.modules.ApplicationModuleFinder@76ed5528]]

Stack trace

  • java.lang.ClassNotFoundException: org.wildfly.swarm.Swarm at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at org.wildfly.swarm.bootstrap.MainInvoker.getMainClass( at org.wildfly.swarm.bootstrap.MainInvoker.<init>( at at org.wildfly.swarm.bootstrap.Main.main(

Write tip

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

Users with the same issue

2 times, 9 hours ago
4 times, 1 week ago
4 times, 3 weeks ago
4 times, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
2438 more bugmates