Compling JSP using org.apache.jasper.JspC generated empty web.xml when run in eclipse 64bit

I was getting an empty web.xml when I tried to compile the JSPs using JspC shown above. I was running this using ant script and this ant script was run using eclipse. Turns out, eclipse was using a 64bit JDK but the ant script had a 32bit JDKs tools.jar in classpath. Making that point to the 64bit jdk in the script solved the issue.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: