Ant bad version number in .class file




















UnsupportedClassVersionError: Bad version number in. How can i match the versions so that i am able to compile. Thank you in advance. Mayank kalbhor. Ulf Dittmer. If it's just servlets and JSPs you're interested in use Tomcat 6 or 7 as the container, and make sure it also uses Java 6 or jdk1. Thank you ulf for a quick response. I am downloading Tomcat 7 now.

Thanks a lot The problem is this error message does not show the name of the failed. No, it is not. This error is caused when you compile a. You may say; same version is not required to compile and run. Yes, that is true. But you can not run. Say; javac compile - version: X java run - version: Y.

Labels: Java. Newer Post Older Post Home. How ClassLoader Works in Java? Example 3 ways to solve java. NoClassDefFoundError in How to use Comparator and Comparable in Java? How to compare two lists of values in Microsoft Ex How to increase Heap memory of Apache Tomcat Serve What is bounded and unbounded wildcards in Generic How to Split String based on delimiter in Java?

Difference between Right shift and Unsigned right What is the maximum Heap Size of 32 bit or bit How to set in Eclipse I How to add and substract days in current date in J Java Program to find factorial of number in Java Difference between Stub and Mock object in Java Un My role as the CEO of Wikitechy, I help businesses build their next generation digital platforms and help with their product innovation and growth strategy.

I'm a frequent speaker at tech conferences and events. See also Java Programming - Find Itinerary from a given list of tickets. Java Code. Tags 2 ways to solve Unsupported major. UnsupportedClassVersionError with example java - Unsupported major.



0コメント

  • 1000 / 1000