Why can't access to glassfish admin console remotely?

后端 未结 1 1220
孤独总比滥情好
孤独总比滥情好 2020-12-22 01:06

I have a virtual machine with Centos7 in virtual box. I have installed there glassfish 5.0 from here: Full platform - glassfish 5.0. I simply unzipped the folder in /opt. I\

相关标签:
1条回答
  • 2020-12-22 01:54

    The answer is your version of Java is too new for GlassFish. I already answered this here: https://stackoverflow.com/a/49998266/212224

    To stop the java.lang.NoClassDefFoundError you need to use a version of Java no higher than 8u151

    This is due to a change in internal JDK classes which Grizzly uses for HTTP/2.

    GlassFish 5.0 does not have the latest version of Grizzly which is compatible with the latest Java 8 updates. If you are using GlassFish 5.0 and see these errors, you have 2 choices:

    1. Downgrade Java to 8u152 or earlier
    2. Download the latest GlassFish 5.0.1 nightly, where this should be fixed

    Ref: https://github.com/javaee/glassfish/issues/22436#issuecomment-374829430

    0 讨论(0)
提交回复
热议问题