Application cannot load classes from JDK tools.jar in JBoss EAP 6
Issue
- Setting CLASSPATH for jdk 1.8 tools.jar so that it's loaded/read during JBoss EAP 6.4 server startup error:
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/].[TestServlet]] (http-/0.0.0.0:12402-1) JBWEB000236: Servlet.service() for servlet TestServlet threw exception: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.