Can't Console Configuration Hibernate in Eclipse
I normally working with Hibernate in Netbeans 8.2 but since Netbeans 9, they will stop support Hibernate so I want to try Eclipse.
I create a Maven Project with following pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.codejava.hibernate</groupId>
<artifactId>HibernateHelloExample</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Hibernate Hello World Program</name>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.6.Final</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.40</version>
</dependency>
</dependencies>
</project>
And I got this problem:
So I tried these solutions:
Class path must be set or restored default:
I used the same jar/libraries, that I used in NetBeans 8.2. And it works fine.
Eclipse/Hibernate tools error: Archive classpath entry doesn't exist
And I got this error: Problems while loading database driverclass (com.mysql.jdbc.Driver).
Error in using hibernate. And I got this error: jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @535b626a
. Which have no trace in Google.
Does anyone have another suggestion? Thank you.
Other Informations:
-MacOS 10.13.6
-Eclipse Oxygen.3a Release (4.7.3a)
java eclipse hibernate
|
show 3 more comments
I normally working with Hibernate in Netbeans 8.2 but since Netbeans 9, they will stop support Hibernate so I want to try Eclipse.
I create a Maven Project with following pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.codejava.hibernate</groupId>
<artifactId>HibernateHelloExample</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Hibernate Hello World Program</name>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.6.Final</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.40</version>
</dependency>
</dependencies>
</project>
And I got this problem:
So I tried these solutions:
Class path must be set or restored default:
I used the same jar/libraries, that I used in NetBeans 8.2. And it works fine.
Eclipse/Hibernate tools error: Archive classpath entry doesn't exist
And I got this error: Problems while loading database driverclass (com.mysql.jdbc.Driver).
Error in using hibernate. And I got this error: jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @535b626a
. Which have no trace in Google.
Does anyone have another suggestion? Thank you.
Other Informations:
-MacOS 10.13.6
-Eclipse Oxygen.3a Release (4.7.3a)
java eclipse hibernate
Which java version you are using also can you use eclipse kepler?also check your hibernate core version.
– GauravRai1512
Nov 13 '18 at 13:23
@GauravRai1512 JavaSE-10. I will try with eclipse kepler.
– MediocreThingy
Nov 13 '18 at 13:30
Can you use java8 and check?, if java version is not the constraint.
– GauravRai1512
Nov 13 '18 at 13:32
@GauravRai1512 I tried java8 and I got this error instead: i.stack.imgur.com/d8pky.pngUnable to make field private final java.util.ArrayList jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @40fdbd2f
– MediocreThingy
Nov 13 '18 at 13:37
Can you change hibernAte version as well?
– GauravRai1512
Nov 13 '18 at 13:48
|
show 3 more comments
I normally working with Hibernate in Netbeans 8.2 but since Netbeans 9, they will stop support Hibernate so I want to try Eclipse.
I create a Maven Project with following pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.codejava.hibernate</groupId>
<artifactId>HibernateHelloExample</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Hibernate Hello World Program</name>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.6.Final</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.40</version>
</dependency>
</dependencies>
</project>
And I got this problem:
So I tried these solutions:
Class path must be set or restored default:
I used the same jar/libraries, that I used in NetBeans 8.2. And it works fine.
Eclipse/Hibernate tools error: Archive classpath entry doesn't exist
And I got this error: Problems while loading database driverclass (com.mysql.jdbc.Driver).
Error in using hibernate. And I got this error: jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @535b626a
. Which have no trace in Google.
Does anyone have another suggestion? Thank you.
Other Informations:
-MacOS 10.13.6
-Eclipse Oxygen.3a Release (4.7.3a)
java eclipse hibernate
I normally working with Hibernate in Netbeans 8.2 but since Netbeans 9, they will stop support Hibernate so I want to try Eclipse.
I create a Maven Project with following pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.codejava.hibernate</groupId>
<artifactId>HibernateHelloExample</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Hibernate Hello World Program</name>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.6.Final</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.40</version>
</dependency>
</dependencies>
</project>
And I got this problem:
So I tried these solutions:
Class path must be set or restored default:
I used the same jar/libraries, that I used in NetBeans 8.2. And it works fine.
Eclipse/Hibernate tools error: Archive classpath entry doesn't exist
And I got this error: Problems while loading database driverclass (com.mysql.jdbc.Driver).
Error in using hibernate. And I got this error: jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @535b626a
. Which have no trace in Google.
Does anyone have another suggestion? Thank you.
Other Informations:
-MacOS 10.13.6
-Eclipse Oxygen.3a Release (4.7.3a)
java eclipse hibernate
java eclipse hibernate
asked Nov 13 '18 at 13:12
MediocreThingyMediocreThingy
237
237
Which java version you are using also can you use eclipse kepler?also check your hibernate core version.
– GauravRai1512
Nov 13 '18 at 13:23
@GauravRai1512 JavaSE-10. I will try with eclipse kepler.
– MediocreThingy
Nov 13 '18 at 13:30
Can you use java8 and check?, if java version is not the constraint.
– GauravRai1512
Nov 13 '18 at 13:32
@GauravRai1512 I tried java8 and I got this error instead: i.stack.imgur.com/d8pky.pngUnable to make field private final java.util.ArrayList jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @40fdbd2f
– MediocreThingy
Nov 13 '18 at 13:37
Can you change hibernAte version as well?
– GauravRai1512
Nov 13 '18 at 13:48
|
show 3 more comments
Which java version you are using also can you use eclipse kepler?also check your hibernate core version.
– GauravRai1512
Nov 13 '18 at 13:23
@GauravRai1512 JavaSE-10. I will try with eclipse kepler.
– MediocreThingy
Nov 13 '18 at 13:30
Can you use java8 and check?, if java version is not the constraint.
– GauravRai1512
Nov 13 '18 at 13:32
@GauravRai1512 I tried java8 and I got this error instead: i.stack.imgur.com/d8pky.pngUnable to make field private final java.util.ArrayList jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @40fdbd2f
– MediocreThingy
Nov 13 '18 at 13:37
Can you change hibernAte version as well?
– GauravRai1512
Nov 13 '18 at 13:48
Which java version you are using also can you use eclipse kepler?also check your hibernate core version.
– GauravRai1512
Nov 13 '18 at 13:23
Which java version you are using also can you use eclipse kepler?also check your hibernate core version.
– GauravRai1512
Nov 13 '18 at 13:23
@GauravRai1512 JavaSE-10. I will try with eclipse kepler.
– MediocreThingy
Nov 13 '18 at 13:30
@GauravRai1512 JavaSE-10. I will try with eclipse kepler.
– MediocreThingy
Nov 13 '18 at 13:30
Can you use java8 and check?, if java version is not the constraint.
– GauravRai1512
Nov 13 '18 at 13:32
Can you use java8 and check?, if java version is not the constraint.
– GauravRai1512
Nov 13 '18 at 13:32
@GauravRai1512 I tried java8 and I got this error instead: i.stack.imgur.com/d8pky.png
Unable to make field private final java.util.ArrayList jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @40fdbd2f
– MediocreThingy
Nov 13 '18 at 13:37
@GauravRai1512 I tried java8 and I got this error instead: i.stack.imgur.com/d8pky.png
Unable to make field private final java.util.ArrayList jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @40fdbd2f
– MediocreThingy
Nov 13 '18 at 13:37
Can you change hibernAte version as well?
– GauravRai1512
Nov 13 '18 at 13:48
Can you change hibernAte version as well?
– GauravRai1512
Nov 13 '18 at 13:48
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53281782%2fcant-console-configuration-hibernate-in-eclipse%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53281782%2fcant-console-configuration-hibernate-in-eclipse%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Which java version you are using also can you use eclipse kepler?also check your hibernate core version.
– GauravRai1512
Nov 13 '18 at 13:23
@GauravRai1512 JavaSE-10. I will try with eclipse kepler.
– MediocreThingy
Nov 13 '18 at 13:30
Can you use java8 and check?, if java version is not the constraint.
– GauravRai1512
Nov 13 '18 at 13:32
@GauravRai1512 I tried java8 and I got this error instead: i.stack.imgur.com/d8pky.png
Unable to make field private final java.util.ArrayList jdk.internal.loader.URLClassPath.loaders accessible: module java.base does not "opens jdk.internal.loader" to unnamed module @40fdbd2f
– MediocreThingy
Nov 13 '18 at 13:37
Can you change hibernAte version as well?
– GauravRai1512
Nov 13 '18 at 13:48