"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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content