sawantuday / crawler4j

Automatically exported from code.google.com/p/crawler4j
0 stars 0 forks source link

UnsupportedClassVersionError / Unsupported #249

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Implement Sample MyCrawler.java and Controller.java
2. Add crawler4j-3.5 to build path
3. Execute program

What is the expected output? What do you see instead?

Expecting fetched URLS

What version of the product are you using?

crawler4j-3.5

Please provide any additional information below.

Exception in thread "main" java.lang.UnsupportedClassVersionError: 
edu/uci/ics/crawler4j/crawler/CrawlConfig : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:700)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
    at crawler.sample.ControllerU.main(ControllerU.java:14)

Original issue reported on code.google.com by wcbrow...@gmail.com on 8 Jan 2014 at 11:11

GoogleCodeExporter commented 9 years ago
I upgraded the java i have to java 7, but i got the same problem. please can 
any one tell me how to solve this issue, thanks.

Original comment by aalab...@gmail.com on 17 Mar 2014 at 8:35

GoogleCodeExporter commented 9 years ago
Or, do you recommend me to use older version which may work better than 3.5.

Original comment by aalab...@gmail.com on 17 Mar 2014 at 8:38

GoogleCodeExporter commented 9 years ago
I used 3.3 version and it worked successfully with java 7

Original comment by aalab...@gmail.com on 17 Mar 2014 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by avrah...@gmail.com on 18 Aug 2014 at 3:48

GoogleCodeExporter commented 9 years ago
Everything seems to work for me.

If the problem still occurs then please ping me and we can check it together.

Please re-check and respond if you want me to check it out for you.

Original comment by avrah...@gmail.com on 23 Sep 2014 at 2:13

GoogleCodeExporter commented 9 years ago
I am closing it for now as it seems not to reproduce.

If it does I will reopen.

Original comment by avrah...@gmail.com on 5 Dec 2014 at 10:23