Bonjour,
Je voudrai exécuter mon projet JPA avec une base de test h2. Eclipse m'affiche l'erreur suivante. Quelqu'un pourrait m'informer sur la nature de l'erreur et comment l'éviter. Je crois qu'il s'agit d'un port 8082 qui est apparemment occupé.
Voilà le contenu de la console :
Quelqu'un pourrait m'aider à résoudre ce problème.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 The Web Console server could not be started. Possible cause: another server is already running at http://192.168.1.12:8082 Root cause: Exception opening port "8082" (port may be in use), cause: "java.net.BindException: Address already in use: JVM_Bind" [90061-196] Exception in thread "main" org.h2.jdbc.JdbcSQLException: Exception opening port "8082" (port may be in use), cause: "java.net.BindException: Address already in use: JVM_Bind" [90061-196] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) at org.h2.message.DbException.get(DbException.java:168) at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:180) at org.h2.util.NetUtils.createServerSocket(NetUtils.java:146) at org.h2.server.web.WebServer.start(WebServer.java:342) at org.h2.tools.Server.start(Server.java:484) at org.h2.tools.Console.runTool(Console.java:234) at org.h2.tools.Console.main(Console.java:102) Caused by: java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source) at java.net.AbstractPlainSocketImpl.bind(Unknown Source) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:176) ... 5 more
Merci d'avance.
Batman90.
Partager