Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask a question.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

databaseanswers.net Latest Questions

  • 1
Clara
Beginner

package sth.hibernate; import org.hibernate.cfg.Configuration; import org.hibernate.Session; import org.hibernate.SessionFactory; import sth.hibernate.entitty.Users; public class App { public static void main(String[] args) { SessionFactory factory = new Configuration() ...

  • -1
Clara

I execute this code and get an error: package com.zetcode; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; public class JavaPostgreSqlPrepared { public static void main(String[] args) { String url = "jdbc:postgresql://localhost:5432/testdb"; ...

  • 1
Clara
Beginner

I’m trying to run a program in java that use mysql connector java to JDBC, the program run in Eclipse but in terminal I get that error java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ...

  • 0
Clara
Beginner

MyBatisSystemException while SpringBoot test.And I solved it for a whole day.Please Check the connnection in following ways. 1.Check URL,username,password in application.yml. 2. Details about this exception 2022-10-10 16:27:49.882 ERROR 19532 --- [nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] ...