Create Zest Script Error #383

Closed
marioskourtesis opened this Issue Jan 14, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@marioskourtesis
Contributor

marioskourtesis commented Jan 14, 2015

[-] __________ 7 - Target: http://xxxxxx.xxx -> Plugin: Application Discovery (passive) __________
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/zest_owtf/mainclass/Tester : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: org.zest_owtf.mainclass.Tester. Program will exit.

@marioskourtesis marioskourtesis added the Bug label Jan 14, 2015

@marioskourtesis

This comment has been minimized.

Show comment
Hide comment
@marioskourtesis

marioskourtesis Apr 5, 2015

Contributor

I re-tested this issue to a new Kali VM and installation:
The OWTF ouput on the web ui is "Yup! Script Created :D" while in the command line is:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/zest_owtf/mainclass/Tester : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: org.zest_owtf.mainclass.Tester. Program will exit.

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/zest_owtf/mainclass/Tester : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: org.zest_owtf.mainclass.Tester. Program will exit.

Contributor

marioskourtesis commented Apr 5, 2015

I re-tested this issue to a new Kali VM and installation:
The OWTF ouput on the web ui is "Yup! Script Created :D" while in the command line is:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/zest_owtf/mainclass/Tester : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: org.zest_owtf.mainclass.Tester. Program will exit.

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/zest_owtf/mainclass/Tester : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: org.zest_owtf.mainclass.Tester. Program will exit.

@viyatb viyatb added this to the OWTF Quality Release milestone Jan 18, 2016

@viyatb viyatb self-assigned this Jan 18, 2016

@viyatb

This comment has been minimized.

Show comment
Hide comment
@viyatb

viyatb Jan 19, 2016

Member

@marioskourtesis I can't reproduce the above error. In my case the zest get created perfectly :) and the forward_to_zap and replay works as intended.

Member

viyatb commented Jan 19, 2016

@marioskourtesis I can't reproduce the above error. In my case the zest get created perfectly :) and the forward_to_zap and replay works as intended.

@viyatb

This comment has been minimized.

Show comment
Hide comment
@viyatb

viyatb Jan 27, 2016

Member

Closing. I'll reopen if there are any more related issues. :)

Member

viyatb commented Jan 27, 2016

Closing. I'll reopen if there are any more related issues. :)

@viyatb viyatb closed this Jan 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment