I don't think this is related to JAVA_HOME at all... I think the error is erroneous.

When I was seeing this error, it would sometimes process a handful of jsp files, and then barf with that error... so it clearly can find Java and is able to compile some files. But then it gets to a point where it pukes... and I think that the error handling might be lacking a tad and that the exception is leaking out to a block that may think it is a JAVA_HOME related problem... but I do not believe that is correct. There is some other error somewhere in there that is getting eaten.

--jason


On Aug 27, 2006, at 1:59 PM, Jeff Genender wrote:

I just ran 1.4.4 *and* 1.4.5-SNAPSHOT jspc on Fedora Core 4...no
errors...using Sun Java 1.4.2_10-b03 and 1.5.0_06-b05 (on certain web
apps only for testing the compile).

I ran it on Windows XP SP2 and MacOSX 10.4.7...no errors.

I cannot reproduce at this time.  The only things I could possibly
mention is be sure your JAVA_HOME is properly set...

I would be happy to fix this if I can reproduce :/

Jeff

Jason Dillon wrote:
I'm still baffled why this works on some systems and why it fails on
others...

But, I'm giving up... I've spent way to much time on this.

It looks like using 1.4.5-SNAPSHOT causes the build that I finally got
to fail on windows to pass...

I have no idea why the openejb2 tests fail on windows either... but as Dain suggested... just add getName() to that class and be done with it.

--jason


On Aug 25, 2006, at 10:47 AM, Jeff Genender wrote:

Add it to your web app pom. use version 5.5.15.

Jeff

Rick McGuire wrote:
Jeff Genender wrote:
And what happens when you use 1.4.4 and you add the jasper- compiler-jdt
as a dependency to the pom?

I'm sorry, I not sure I understood that last bit. Where do I add the
jasper-compiler-jdt (and which version?).

Rick

Jeff

Rick McGuire wrote:

Jeff Genender wrote:

Are you using 1.4.5-SNAPSHOT? I do not see your tools.jar in your
classpath.  Please delete your
~/.m2/reporitory/org/codehaus/mojo/jspc-maven-plugin directory and
try
again.


Same result.  Only the 1.4.5-SNAPSHOT is in the jspc-maven-plugin
directory after completion.

Rick



Jeff

Rick McGuire wrote:


Added as an attachment, since Thunderbird's choking on the cut and
paste
for some reason.  I'm not sure there's anything useful in the
additional
detail.

Rick





Reply via email to