Я пытаюсь использовать Glassfish 4 с Eclipse.Я успешно установил Glassfish.Однако, когда я пытаюсь запустить проект, я сталкиваюсь с этой ошибкой:
не удается развернуть развертывание ecommerceJPA не удается = ошибка при развертывании: исключительная ситуация при развертывании приложения [ecommerceJPA]: java.lang.NoClassDefFoundError:ком / Google / общий / кэш / CacheLoader.Пожалуйста, смотрите server.log для более подробной информации.
Вот server.log:
2019-04-05T13:51:04.246+0200|Infos: Running GlassFish Version: GlassFish Server Open Source Edition 4.1.2 (build 1)
2019-04-05T13:51:04.248+0200|Infos: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
2019-04-05T13:51:04.350+0200|Infos: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
2019-04-05T13:51:04.370+0200|Infos: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
2019-04-05T13:51:04.375+0200|Infos: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
2019-04-05T13:51:04.486+0200|Infos: Authorization Service has successfully initialized.
2019-04-05T13:51:04.502+0200|Infos: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
2019-04-05T13:51:04.659+0200|**Avertissement: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn**
2019-04-05T13:51:04.747+0200|Infos: Grizzly Framework 2.3.23 started in: 21ms - bound to [/0.0.0.0:8088]
2019-04-05T13:51:04.761+0200|**Avertissement: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn**
2019-04-05T13:51:04.766+0200|Infos: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:8181]
2019-04-05T13:51:04.769+0200|**Avertissement: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=admin-listener, realClassName=org.glassfish.grizzly.http2.Http2AddOn**
2019-04-05T13:51:04.775+0200|Infos: Grizzly Framework 2.3.23 started in: 2ms - bound to [/0.0.0.0:4848]
2019-04-05T13:51:04.818+0200|Infos: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:3700]
2019-04-05T13:51:05.869+0200|Infos: GlassFish Server Open Source Edition 4.1.2 (1) startup time : Felix (3�115ms), startup services(1�754ms), total(4�869ms)
2019-04-05T13:51:06.000+0200|Infos: HV000001: Hibernate Validator 5.1.2.Final
2019-04-05T13:51:06.053+0200|Infos: JTS5014: Recoverable JTS instance, serverId = [100]
2019-04-05T13:51:06.118+0200|Infos: JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://Asus-Dec14-P09:8686/jndi/rmi://Asus-Dec14-P09:8686/jmxrmi
2019-04-05T13:51:07.491+0200|Grave: The SSL certificate has expired: [
[
Version: V3
Subject: OU=Equifax Secure Certificate Authority, O=Equifax, C=US
Signature Algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5
Key: Sun RSA public key, 1024 bits
modulus:
135786214035069526348186531221551781468391756233528066061569654028671100866720352830303278016129003918213826297308054231261658522889438712013757624116391437358730449661353175673177742307421061340003741057138887918110217006515773038453829253517076741780039735595086881329494037450587568122088113584549069375417
public exponent: 65537
Validity: [From: Sat Aug 22 18:41:51 CEST 1998,
To: Wed Aug 22 18:41:51 CEST 2018]
Issuer: OU=Equifax Secure Certificate Authority, O=Equifax, C=US
SerialNumber: [ 35def4cf]
Certificate Extensions: 7
[1]:
ObjectId: 1.2.840.113533.7.65.0 Criticality=false
Extension unknown: DER encoded OCTET string =
0000: 04 0D 30 0B 1B 05 56 33 2E 30 63 03 02 06 C0 ..0...V3.0c....
[2]:
ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 48 E6 68 F9 2B D2 B2 95 D7 47 D8 23 20 10 4F 33 H.h.+....G.# .O3
0010: 98 90 9F D4
....
]
]
[3]: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
CA:true
PathLen:2147483647
]
[4]: ObjectId: 2.5.29.31 Criticality=false
CRLDistributionPoints [
[DistributionPoint:
[CN=CRL1, OU=Equifax Secure Certificate Authority, O=Equifax, C=US]
I have already checked the "User Jar Archives for deployment" this did not fix the issued.
Кроме того, я не понимаю, почему я получаю ошибку "не могу развернуть«когда я просто пытаюсь запустить проект.Eclipse создал файл .war.