[JBoss JIRA] (FORGE-516) org.jboss.modules.ModuleNotFoundException: Module not found in local module loader
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-516:
----------------------------------------
Summary: org.jboss.modules.ModuleNotFoundException: Module not found in local module loader
Key: FORGE-516
URL: https://issues.jboss.org/browse/FORGE-516
Project: Forge
Issue Type: Bug
Components: Init Scripts, Shell
Reporter: Lincoln Baxter III
Priority: Blocker
Fix For: 1.0.1.Final
The following error:
{code}
org.jboss.modules.ModuleNotFoundException: Module org.jboss.hibernate.forge.hibernate-tools-plugin:1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24 is not found in local module loader @2e273686 (roots: /home/lb3/Development/forge/modules,/home/lb3/.forge/plugins\,/home/lb3/Desktop)
at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:121)
at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:245)
at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194)
at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:172)
at org.jboss.forge.shell.Bootstrap.loadPlugins(Bootstrap.java:227)
at org.jboss.forge.shell.Bootstrap.access$200(Bootstrap.java:55)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:119)
at java.lang.Thread.run(Thread.java:662)
{/code}
Occurs after installing any plugin, resulting in plugin loading failure.
{code}lb3@quadshark:~/Desktop$ forge
_____
| ___|__ _ __ __ _ ___
| |_ / _ \| `__/ _` |/ _ \ \\
| _| (_) | | | (_| | __/ //
|_| \___/|_| \__, |\___|
|___/
[no project] Desktop $
[no project] Desktop $
[no project] Desktop $
[no project] Desktop $ forge install-plugin hibernate-tools
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: hibernate-tools
***INFO*** Checking out plugin source files to [/tmp/forgetemp1438508114722221439/repo] via 'git'
***WARNING*** Could not find a Ref matching the current Forge version [1.0.1-SNAPSHOT], building Plugin from HEAD.
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hibernate-tools-plugin 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ hibernate-tools-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ hibernate-tools-plugin ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ hibernate-tools-plugin ---
[INFO] Compiling 2 source files to /tmp/forgetemp1438508114722221439/repo/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ hibernate-tools-plugin ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ hibernate-tools-plugin ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ hibernate-tools-plugin ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ hibernate-tools-plugin ---
[INFO] Building jar: /tmp/forgetemp1438508114722221439/repo/target/hibernate-tools-plugin-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.786s
[INFO] Finished at: Wed Mar 21 11:01:54 EDT 2012
[INFO] Final Memory: 17M/218M
[INFO] ------------------------------------------------------------------------
***INFO*** Installing plugin artifact.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
***SUCCESS*** Installed from [https://github.com/forge/plugin-hibernate-tools.git] successfully.
Wrote /home/lb3/.forge/plugins
Wrote /home/lb3/.forge/plugins/org
Wrote /home/lb3/.forge/plugins/org/jboss
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/slf4j-api-1.5.10.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/log4j-1.2.16.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/commons-collections-3.2.1.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/hibernate-tools-3.4.0.CR2-SNAPSHOT.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/hibernate-core-3.5.6-Final.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/antlr-2.7.6.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/dom4j-1.6.1.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/xml-apis-1.0.b2.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/hibernate-annotations-3.5.6-Final.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/hibernate-commons-annotations-3.2.0.Final.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/hibernate-entitymanager-3.5.6-Final.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/javassist-3.9.0.GA.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/hibernate-jpa-2.0-api-1.0.0.Final.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/jta-1.1.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/commons-logging-1.1.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/logkit-1.0.1.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/avalon-framework-4.1.3.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/servlet-api-2.3.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/cglib-2.2.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/asm-3.1.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/ant-1.6.5.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/freemarker-2.3.8.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/jtidy-r8-20060801.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/org.eclipse.jdt.core-3.2.0-v_671.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/text-3.2.0-v20060605-1400.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/commands-3.3.0-I20070605-0010.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/runtime-3.2.0-v20060603.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/osgi-3.4.3.R34x_v20081215-1030.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/jobs-3.3.0-v20070423.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/registry-3.3.0-v20070522.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/preferences-3.2.100-v20070522.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/contenttype-3.2.100-v20070319.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/common-3.2.0-v20060603.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/slf4j-log4j12-1.5.10.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/hibernate-tools-plugin.jar
Wrote /home/lb3/.forge/plugins/org/jboss/hibernate/forge/hibernate-tools-plugin/1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24/module.xml
Failed loading: org.jboss.hibernate.forge.hibernate-tools-plugin:1.0.0-SNAPSHOT:1.0.0-SNAPSHOT-803756cc-c58d-4d4d-829b-dac501469f24
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira