Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If compiler not found on classpath, needs to load a controller with default class loader #17

Closed
artdaw opened this issue May 30, 2013 · 1 comment

Comments

@artdaw
Copy link
Contributor

artdaw commented May 30, 2013

Original author: ipolevoy@gmail.com (May 04, 2011 22:24:18)

activeweb.ControllerLoadException: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
at activeweb.ControllerFactory.getControllerClass(ControllerFactory.java:56)
at activeweb.ControllerFactory.createControllerInstance(ControllerFactory.java:62)
at activeweb.Router.recognize(Router.java:66)
at activeweb.RequestDispatcher.doFilter(RequestDispatcher.java:95)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

Original issue: http://code.google.com/p/activeweb/issues/detail?id=17

@ipolevoy
Copy link
Member

disagree, configuration is set to dynamically compile. If compiler not available, either turn compilation off, or add tools.jar to the classpath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants