Je travaille avec IntelliJ 2019.2 et je n'arrive pas à démarrer le serveur Glassfish 4.1.2 (Full Platform). J'ai trouvé quelques propositions de solutions pour cette erreur, mais aucune n'a fonctionné pour moi, par ex. ce poste o cet article .
Sortie
C:\workspace\resources\server\glassfish4\glassfish\bin\asadmin.bat start-domain domain1
GlassFish requires Java SE version 6. Your JDK is version 0
"C:\Program Files\Java\jdk1.8.0_221\bin\java.exe" -Dfile.encoding=windows-1252 -classpath "C:\workspace\resources\server\glassfish4\glassfish\modules\javax.ejb-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.servlet-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.servlet.jsp-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules;C:\workspace\resources\server\glassfish4\glassfish\modules\acc-config.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\admin-cli.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\admin-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\admin-util.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\amx-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\amx-javaee.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\annotation-framework.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ant.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\antlr-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\aopalliance-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\api-exporter.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\appclient-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\appclient-server-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\appclient.security.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\asm-all-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\asm-all.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\org.apache.felix.configadmin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\org.apache.felix.eventadmin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\org.apache.felix.fileinstall.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\org.apache.felix.gogo.command.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\org.apache.felix.gogo.runtime.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\org.apache.felix.gogo.shell.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\org.apache.felix.scr.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-cdi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-ee-resources.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-ejb-container.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-http.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-javaee-base.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-jdbc.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-jpa.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-jta.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\autostart\osgi-web-container.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\backup.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\bean-validator-cdi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\bean-validator.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cdi-api-fragment.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cdi-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\class-model.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cluster-admin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cluster-common.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cluster-ssh.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cmp-ejb-mapping.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cmp-enhancer.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cmp-generator-database.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cmp-internal-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cmp-model.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cmp-support-ejb.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cmp-support-sqlstore.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\cmp-utility.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\com.ibm.jbatch.container.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\com.ibm.jbatch.spi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\common-util.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\concurrent-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\concurrent-impl.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\config-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\config-types.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\connectors-admin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\connectors-inbound-runtime.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\connectors-internal-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\connectors-runtime.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-cluster-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-common-full-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-common.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-community-branding-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-concurrent-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-corba-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-ejb-lite-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-ejb-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-jca-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-jdbc-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-jms-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-jts-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-plugin-service.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-updatecenter-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\console-web-plugin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\container-common.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\dataprovider.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\dbschema-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\deployment-admin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\deployment-autodeploy.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\deployment-client.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\deployment-common.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\deployment-javaee-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\deployment-javaee-full.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\dol.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ejb-client.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ejb-container.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ejb-full-container.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ejb-internal-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ejb.security.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\endorsed\javax.annotation-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\endorsed\jaxb-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\endorsed\webservices-api-osgi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\entitybean-container.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\flashlight-extra-jdk-packages.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\flashlight-framework.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-admingui-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-client-module.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-connectors-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-ejb-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-jms-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-jms-injection.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-jpa-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-load-balancer-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-restadmin-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-web-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gf-weld-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-batch-commands.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-batch-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-corba-csiv2-idl.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-corba-internal-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-corba-omgapi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-corba-orb.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-ee-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-extra-jre-packages.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-grizzly-extra-all.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-mbeanserver.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-naming.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-oracle-jdbc-driver-packages.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish-registration.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\glassfish.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gmbal.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gms-adapter.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\gms-bootstrap.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\guava.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ha-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ha-file-store.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ha-shoal-cache-bootstrap.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ha-shoal-cache-store.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\hk2-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\hk2-config.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\hk2-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\hk2-locator.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\hk2-runlevel.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\hk2-utils.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\hk2.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\inmemory.jacc.provider.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\internal-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\j-interop-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jackson-annotations.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jackson-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jackson-databind.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jackson-jaxrs-base.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jackson-jaxrs-json-provider.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jaspic.provider.framework.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javaee-kernel.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javamail-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javamail-runtime.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javassist.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.batch-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.el.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.enterprise.concurrent-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.enterprise.concurrent.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.enterprise.deploy-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.faces.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.inject.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.interceptor-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.jms-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.json.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.mail.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.management.j2ee-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.persistence.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.resource-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.security.auth.message-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.security.jacc-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.servlet.jsp.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.servlet.jsp.jstl-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.servlet.jsp.jstl.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.transaction-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.websocket-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.ws.rs-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.xml.registry-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\javax.xml.rpc-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jaxb-extra-osgi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jaxb-osgi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jboss-logging.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jdbc-admin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jdbc-config.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jdbc-runtime.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-bean-validation.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-cdi1x-servlet.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-cdi1x-transaction.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-cdi1x.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-client.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-common.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-container-grizzly2-http.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-container-servlet-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-container-servlet.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-entity-filtering.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-gf-ejb.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-guava.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-media-jaxb.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-media-json-jackson.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-media-json-jettison.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-media-json-processing.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-media-moxy.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-media-multipart.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-media-sse.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-mvc-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-mvc-jsp.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-mvc.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jersey-server.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jettison.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jms-admin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jms-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jmxremote_optional-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jpa-container.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jsf-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jsftemplating.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jsonp-jaxrs.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jspcaching-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jsr109-impl.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jstl-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jta.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\jts.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\kernel.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\launcher.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ldapbp-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\libpam4j-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\load-balancer-admin.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\logging.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\management-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\metro-glue.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\mimepull.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\monitoring-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\nucleus-grizzly-all.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\nucleus-resources.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\orb-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\orb-enabler.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\orb-iiop.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.apache.felix.bundlerepository.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.antlr.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.asm.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.dbws.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.jpa.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.jpa.jpql.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.jpa.modelgen.processor.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.moxy.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\org.eclipse.persistence.oracle.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\osgi-adapter.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\osgi-cli-remote.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\osgi-container.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\osgi-jpa-extension.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\osgi-resource-locator.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\persistence-common.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\pfl-asm.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\pfl-basic-tools.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\pfl-basic.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\pfl-dynamic.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\pfl-tf-tools.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\pfl-tf.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\pkg-client.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\registration-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\registration-impl.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\resources-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\resources-runtime.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\rest-client.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\rest-service.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\scattered-archive-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\schema2beans-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\security-ee.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\security-services.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\security.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\shoal-cache.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\shoal-gms-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\shoal-gms-impl.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\simple-glassfish-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\soap-tcp.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\ssl-impl.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\stats77.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\stax2-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\transaction-internal-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\trilead-ssh2-repackaged.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\tyrus-client.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\tyrus-container-glassfish-cdi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\tyrus-container-glassfish-ejb.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\tyrus-container-grizzly-client.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\tyrus-container-servlet.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\tyrus-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\tyrus-server.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\tyrus-spi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\war-util.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\web-cli.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\web-core.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\web-embed-api.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\web-glue.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\web-gui-plugin-common.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\web-ha.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\web-naming.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\web-sse.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\websecurity.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\webservices-connector.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\webservices-extra-jdk-packages.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\webservices-osgi.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\webservices.security.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\weld-integration-fragment.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\weld-integration.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\weld-osgi-bundle.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\woodstox-core-asl.jar;C:\workspace\resources\server\glassfish4\glassfish\modules\work-management.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2019.2\plugins\JavaEE\lib\javaee-impl.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2019.2\lib\platform-api.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2019.2\lib\util.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2019.2\plugins\Glassfish\lib\specifics\glassfish3.1-specifics.jar" com.intellij.javaee.oss.process.JavaeeProcess 58993 com.intellij.javaee.oss.glassfish.agent.Glassfish31Agent
Detected server admin port: 4848
Detected server http port: 8080
- Cela a déjà marché une fois, mais j'ai dû changer de poste de travail et réinstaller IntelliJ
- J'ai également mis à jour mon JDK, il s'agit toujours de la version 8, mais avec un autre numéro (8u221, je ne sais pas quelle version j'utilisais avant).
- Les paramètres du serveur d'application dans IntelliJ sont corrects.
- Les journaux de Glassfish sont vides
- Mon JAVA_HOME est correctement défini ( C:\Program Fichiers \Java\jdk1.8.0_221 )
- J'ai ajouté %JAVA_HOME% \bin à la variable PATH.
- Je suis capable de démarrer le serveur par le biais de la commande cmd (asadmin.bat start-domain domain1).
- S'assurer que le SDK correct est défini dans IntelliJ (Structure du projet -> Paramètres de la plate-forme).
- J'ai essayé différents paramètres du compilateur Java (paramètres IntelliJ), par exemple, j'ai changé la version du code octet du projet à 6 au lieu de 8.
- L'ajout de la ligne AS_JAVA=MY_JDK_DIRECTORY n'a pas aidé.
- La réinstallation de Glassfish n'a pas aidé
-
Glassfish Plugin dans IntelliJ est activé (par défaut)
java -version java version "1.8.0_221" Java(TM) SE Runtime Environment (build 1.8.0_221-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
Je ne sais plus quoi faire, quelqu'un peut-il m'aider ?