1. Build requires JDK 1.6 now - EmbeddedJSP plugin struts.1045723.n5.nabble.comOn Sunday 23 August 2009 09:48:55 pm Jeromy Evans wrote: > Hi guys, > > I may have missed the announcement, but it seems Java 1.6 is now > mandatory to perform a full build of Struts 2.1.8+ > > The EmbeddedJSP plugin's JSPLoader uses javax.tools.JavaCompiler that > is "Since 1.6" only. > > If not deliberate, we may need a ... |
2. embeddedJsp plugin causing jsp compilation issues struts.1045723.n5.nabble.comI've been able to move some fairly complex interfaces into distributable jars using this plugin and by themselves they work great! However, using it has a very strange side-effect wherein if I try to load any 'normal' .jsp page in the same web-app which has not been loaded (compiled) prior to the loading of *any *embedded jsp page causes the following ... |
3. NPE in embeddedJsp plugin struts.1045723.n5.nabble.comI'm getting a NPE in the embeddedJsp plugin. It seems to originate from JSPLoader.getJarURL(clazz) at URL loc = codeSource.getLocation() because codeSource is null. (protectionDomain.getCodeSource() returns null). Not sure why this is happening for me (it is occurring when clazz = interface javax.servlet.Servlet), but the API docs say that protectionDomain.getCodeSource() can be null, so there should probably be a check here or ... |