When I tried to start GlassFish, I got an internal error while "Publishing to GlassFish 4.0 on localhost ...". What to do when it becomes

environment OS : Windows10 GlassFish : GlassFish 4.1 Eclipse : Kepler Service Release 2

Event

I got an error when I cleaned GlassFish in Eclipse. 360-1.png

Even so, when I started GlassFish, I got an error and could not start it. 360.png

Error displayed in the dialog


"Localhost GlassFish 4.Published to 0..."An internal error has occurred inside.
java.lang.NullPointerException

Cause: JRE had strange settings

How to respond

  1. Select Settings> Server> Server Runtime Environment.
  2. Select the GlassFish you are using and press the [Edit] button. 480.png
  3. [JRE]> Set the JRE that suits your app.
  4. Clean GlassFish.
  5. Stop GlassFish.
  6. Clean the project.
  7. Deploy and launch GlassFish.
  8. If this causes the same event, google to find a solution.

The site that I used as a reference

-Glassfish cannot register as a server in Eclipse with "Glassfish server runtime requires full JDK instead of JRE" | gele.log ()

Recommended Posts

When I tried to start GlassFish, I got an internal error while "Publishing to GlassFish 4.0 on localhost ...". What to do when it becomes
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
What to do when it becomes Unable to find CDI BeanManager.
[Programming beginner] What to do when rails s becomes an error in the local development environment
What to do and how to install when an error occurs in DXRuby 1.4.7
What to do if an error occurs when nokogiri enters when bundle install
no space left on device What to do if an error occurs
What to do if you get an error when you hit Heroku logs
When registering a new user, I got an error called ActiveRecord :: NotNullViolation and how to deal with it.
What to do if you get an "A server is already running." Error when you try to start the rails server
I built a CentOS 8 environment with Vagrant and tried to sync_folder, but I got an error, so I solved it.
Beginner: I get an error on line 30. I don't know where to fix it.
[Grails] Error occurred running What to do when the Grails CLI does not start
What to do if you get an error on heroku rake db: migrate
What to do when is invalid because it does not start with a'-'
I got an error when I ran rake routes.
What to do if you try to start GlassFish and it becomes java.lang.UnsupportedClassVersionError: org / glassfish / admin / cli / AsadminMain: Unsupported major.minor version 51.0
After installing'devise''bootstrap' of gemfile with rails, what to do when url is an error
When I tried to support IPv6 easily with Docker-proxy, I couldn't do it before I knew it.
What to do if you get a port error when docker-compose up on Mac
I got an error when trying to install sbt to build a Scala development environment
What to do when a null byte error occurs
What to do if an ActionController :: UnknownFormat error occurs
What to see when IntelliJ doesn't start on Mac
When I bcrypt with node + docker, I got an error
I found no way to get the error code when I received an exception on Android
[It takes 3 minutes] When I tried to install VS Code on Ubuntu 18.04, it was unexpectedly easy.
What to do if a SAX Parser error occurs when using Liferay 7 / DXP on AWS
I got an error when using nextInt, nextLine and substring.
What to do when you launch an application with rails
What to do if you go offline due to SSL certificate error when running Jenkins on Mac
What to do if an error occurs when doing npm install axios in React + Typescript project
What to do when an UnsupportedCharsetException occurs in a lightweight JRE
I got an IllegalAccessError when trying to use PowerMock with JUnit
I get a Ruby version error when I try to start Rails.
I tried to translate the error message when executing Eclipse (Java)
I got an error and couldn't push! !! [error: failed to push some refs to]
I tried to make it an arbitrary URL using routing nesting
What to do if you get Application with name appName is already registered. When you try to start GlassFish
When I tried to build an environment of PHP7.4 + Apache + MySQL with Docker, I got stuck [Windows & Mac]
[Rails] What to do if you get an error saying "Could not find a JavaScript runtime." When executing the rails s command on Catalina