When starting JBoss from the servers view inside Eclipse Indigo SR2 with JBoss Tools 2.3.0 on my machine, everything runs fine.
I have copied all contents of my work folder containing Eclipse and JBoss-7.1.1.Final to a different machine.
Now, when I try to start the server, it fails with this message:
Starting JBoss 7.1.1 Runtime encountered an error. The archive: /jboss/jboss-modules.jar which is referenced by the classpath, does not exist.
I don't see anything referencing the jar in the runtime or server or project configurations. And the jboss-modules.jar
is inside the root folder of the JBoss server, as expected. There are no deployments in the standalone.xml
.
Both machines are running SuSe 12. .bashrc
and .profile
are empty.
The server starts fine from command line.
I have created a new runtime and a server using this runtime from scratch in Eclipse, but get the same error.
Any ideas are appreciated.
modules.jar
is required to run JBOSS 7.1 Runtime, which is missing.
Go to Window > Preferences > Server > Runtime Environment > Default Classpath
.
If you don't see any classpath in the right side menu,you can tweek the classpath setting by-
Delete and Add Server Again,
while Add new server,
now everything will run fine.