tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bishop <dbis...@micron.com>
Subject Re: Web-application not yet deployed
Date Thu, 27 Jun 2002 21:49:44 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Well, thanks to everybody's help and suggestions, I am up and running! 
WOOHOO!!  Thanks :-)  (btw, the solution was using the binary connector 
available through the archives.  I'm thinking that should be the default 
response to "my mod_webapp isn't working/compiling" questions...)

Of, course, I am still having a problem ;-)  Now, when I'm trying to build a 
basic "hello, world" example, that (again!) worked in 3.2 using jdk 1.1, ant 
dies complaining about the following:

<snip>
compile:
    [javac] Compiling 1 source file to 
/u/wwwpe/tomcat_pedh12/webapps/akyoshin/WEB-INF/classes
BUILD FAILED
java.lang.UnsupportedClassVersionError: sun/tools/javac/Main (Unsupported 
major.minor version 48.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass0(Compiled Code)
        at java.lang.ClassLoader.defineClass(Compiled Code)
        at java.security.SecureClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.access$1(Compiled Code)
        at java.net.URLClassLoader$1.run(Compiled Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessController.doPrivileged(Compiled Code)
        at java.net.URLClassLoader.findClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClassInternal(Compiled Code)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName0(Compiled Code)
        at java.lang.Class.forName(Compiled Code)
        at 
org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:86)
        at org.apache.tools.ant.taskdefs.Javac.execute(Compiled Code)
        at org.apache.tools.ant.Task.perform(Compiled Code)
        at org.apache.tools.ant.Target.execute(Compiled Code)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Compiled Code)
        at org.apache.tools.ant.Project.executeTargets(Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Compiled Code)
        at org.apache.tools.ant.Main.start(Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:176)

My build.sh is basic, just setting JAVA_HOME, TOMCAT_HOME, and calling ant 
(based entirely off the examples).  I can post my build.xml, if needed, but 
again, it's just what was working in 3.2.  Ideas?  Thanks tons!

- -- 
D.A.Bishop

"Three people can take efficient care of a unix system as long as two of them 
are dead"     - Unknown HP-UX mailing list member
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9G4h514eKrYdPXKkRAgBgAJ0e1yQZEgyuXMHP0xaUUaKQyH8YOwCcD9ee
EPAc7/Xm5bhRl0N9nsq9WzE=
=VW0k
-----END PGP SIGNATURE-----


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message