"java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactoryService" when starting JBoss due to path truncation

Solution Verified - Updated -

Issue

We get the following error when trying to start JBoss:

ERROR [MainDeployer] Could not create deployment: file:/opt/jboss-as/server/devdfeapp/deploy/uuid-key-generator.sar/
org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactoryService; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactoryService)
...
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactoryService

Environment

  • JBoss

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.