我无法在 Intellij 上运行我的 Glassfish 服务器

问题描述 投票:0回答:1

我刚刚安装了Glassfish 5.1,试图构建一个服务器。我按照他们网站上的说明操作,但是当我点击“运行”时,我只得到 Waiting for server connection to start artifact deployment... Detected server admin port: 4848 Detected server http port: 8080 Attempting to start domain1.... Please look at the server log for more details..... D:\Server\glassfish5\glassfish\bin\asadmin.bat stop-domain domain1

当 Glassfish 日志为空时。这是想法.log

2020-02-19 16:35:04,346 [1217571] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS) 2020-02-19 16:35:04,350 [1217575] INFO - j.compiler.server.BuildManager - Using preloaded build process to compile 2020-02-19 16:35:04,702 [1217927] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA 2019.1.1/lib/jps-launcher.jar;C:/Program Files/Java/jdk-12/lib/tools.jar 2020-02-19 16:35:04,746 [1217971] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2020-02-19 16:35:04,747 [1217972] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation 2020-02-19 16:35:04,747 [1217972] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2020-02-19 16:35:05,416 [1218641] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: An illegal reflective access operation has occurred 2020-02-19 16:35:05,416 [1218641] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/C:/Program%20Files/JetBrains/IntelliJ%20IDEA%202019.1.1/lib/protobuf-java-3.5.1.jar) to field java.nio.Buffer.address 2020-02-19 16:35:05,416 [1218641] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil 2020-02-19 16:35:05,416 [1218641] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 2020-02-19 16:35:05,416 [1218641] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: All illegal access operations will be denied in a future release 2020-02-19 16:35:06,271 [1219496] INFO - lij.compiler.impl.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 1928 ms: 0 min 1sec

所以它说,它构建没有错误,当我终止时它说

Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:4848

希望有人知道这里发生了什么。

intellij-idea glassfish
1个回答
0
投票

© www.soinside.com 2019 - 2024. All rights reserved.