Hi Everyone,
Error:
java.lang.UnsupportedClassVersionError: de/hybris/ant/taskdefs/DbDriverValidator : Unsupported major.minor version 52.0
Reason:
This will happen because of Java version Compatibility, which means in your system if your using more than one jdk. This error will occur.
Solution:
Go to your
ControlPanel->Advanced system settings->Environment variables
In the Edit system variable, if your find the text as path, then click on edit and check if you have more than one jdk exists.
If you found any, then remove those jdks and put only one jdk which is used for building Hybris suite.
Then click on ok.
After completion of Restart, Follow the below steps.
1.Run your hybris suite from console.
2.By setting ant environment by the command in the below path
hybrissuitefolder/hybris/bin/platform: setantenv.bat
3.Now, check the javaversion by giving a command like java -version
4.Once check if the java version is related to your hybris suite for running.
5.If not change your jdk version.
6.If you found that java version is related to run your hybris suite then, do an ant all.
7.And start the hybris server by giving the command as hybrisserver.bat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |