Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
613 views
in Technique[技术] by (71.8m points)

jakarta ee - Java.lang.Error: java.lang.NoSuchFieldException: override

I'm starting a project in JEE and when i try to use EJB, I got errors on deployement.

I have tried many things but nothing works.

Here are my logs :

2021-01-26 23:54:14,903 INFO  [org.jboss.modules] (main) JBoss Modules version 1.8.7.Final
2021-01-26 23:54:15,248 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final
2021-01-26 23:54:15,254 INFO  [org.jboss.threads] (main) JBoss Threads version 2.3.2.Final
2021-01-26 23:54:15,350 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 15.0.1.Final (WildFly Core 7.0.0.Final) starting
2021-01-26 23:54:15,352 DEBUG [org.jboss.as.config] (MSC service thread 1-2) Configured system properties:
    awt.toolkit = sun.awt.windows.WToolkit
    file.encoding = Cp1252
    file.separator = 
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.headless = true
    java.class.path = C:Usersalexawildfly-15.0.1.Finaljboss-modules.jar
    java.class.version = 56.0
    java.home = C:Program FilesJavajdk-12.0.2
    java.io.tmpdir = C:UsersalexaAppDataLocalTemp
    java.library.path = C:Program FilesJavajdk-12.0.2in;C:WINDOWSSunJavain;C:WINDOWSsystem32;C:WINDOWS;native;C:/Program Files/Java/jdk-14.0.1/bin/server;C:/Program Files/Java/jdk-14.0.1/bin;C:Program FilesCommon FilesOracleJavajavapath;C:Program FilesJavajdk-14.0.1in;C:Program Files (x86)Common FilesOracleJavajavapath;C:Program Files (x86)Razer Chroma SDKin;C:Program FilesRazer Chroma SDKin;C:Program Files (x86)RazerChromaBroadcastin;C:Program FilesRazerChromaBroadcastin;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:WindowsSystem32OpenSSH;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program FilesNVIDIA CorporationNVIDIA NvDLISR;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:WINDOWSSystem32OpenSSH;C:WINDOWSsystem32configsystemprofileAppDataLocalMicrosoftWindowsApps;D:PuTTY;C:Program Files
odejs;C:Program FilesGitcmd;C:UsersalexaAppDataLocalMicrosoftWindowsApps;C:UsersalexaAppDataLocalatomin;C:UsersalexaAppDataLocalMicrosoftWindowsApps;C:UsersalexaAppDataRoaming
pm;C:ffmpegin;;C:Program FilesDocker Toolbox;C:UsersalexaAppDataLocalProgramsMicrosoft VS Codein;C:WINDOWSSystem32;;.
    java.net.preferIPv4Stack = true
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 12.0.2+10
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 12
    java.util.logging.manager = org.jboss.logmanager.LogManager
    java.vendor = Oracle Corporation
    java.vendor.url = https://java.oracle.com/
    java.vendor.url.bug = https://bugreport.java.com/bugreport/
    java.version = 12.0.2
    java.version.date = 2019-07-16
    java.vm.compressedOopsMode = 32-bit
    java.vm.info = mixed mode, sharing
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 12
    java.vm.vendor = Oracle Corporation
    java.vm.version = 12.0.2+10
    javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
    jboss.bind.address = localhost
    jboss.bind.address.management = localhost
    jboss.home.dir = C:Usersalexawildfly-15.0.1.Final
    jboss.host.name = msi
    jboss.modules.dir = C:Usersalexawildfly-15.0.1.Finalmodules
    jboss.modules.system.pkgs = org.jboss.byteman
    jboss.node.name = msi
    jboss.qualified.host.name = msi
    jboss.server.base.dir = C:Usersalexawildfly-15.0.1.Finalstandalone
    jboss.server.config.dir = C:Usersalexawildfly-15.0.1.Finalstandaloneconfiguration
    jboss.server.data.dir = C:Usersalexawildfly-15.0.1.Finalstandalonedata
    jboss.server.deploy.dir = C:Usersalexawildfly-15.0.1.Finalstandalonedatacontent
    jboss.server.log.dir = C:Usersalexawildfly-15.0.1.Finalstandalonelog
    jboss.server.name = msi
    jboss.server.persist.config = true
    jboss.server.temp.dir = C:Usersalexawildfly-15.0.1.Finalstandalonemp
    jdk.debug = release
    line.separator = 

    logging.configuration = file:C:Usersalexawildfly-15.0.1.Finalstandaloneconfigurationlogging.properties
    module.path = C:Usersalexawildfly-15.0.1.Finalmodules
    org.jboss.boot.log.file = C:Usersalexawildfly-15.0.1.Finalstandalonelogoot.log
    org.jboss.logmanager.nocolor = true
    org.jboss.resolver.warning = true
    os.arch = amd64
    os.name = Windows 10
    os.version = 10.0
    path.separator = ;
    program.name = JBossTools: WildFly 15
    sun.arch.data.model = 64
    sun.boot.library.path = C:Program FilesJavajdk-12.0.2in
    sun.cpu.endian = little
    sun.cpu.isalist = amd64
    sun.desktop = windows
    sun.io.unicode.encoding = UnicodeLittle
    sun.java.command = org.jboss.modules.Main -mp C:Usersalexawildfly-15.0.1.Finalmodules org.jboss.as.standalone -b localhost --server-config=standalone-full.xml -Djboss.server.base.dir=C:Usersalexawildfly-15.0.1.Finalstandalone
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = Cp1252
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level = 
    sun.rmi.dgc.client.gcInterval = 3600000
    sun.rmi.dgc.server.gcInterval = 3600000
    user.country = FR
    user.dir = C:Usersalexawildfly-15.0.1.Finalin
    user.home = C:Usersalexa
    user.language = fr
    user.name = alexa
    user.script = 
    user.timezone = Europe/Paris
    user.variant = 
2021-01-26 23:54:15,354 DEBUG [org.jboss.as.config] (MSC service thread 1-2) VM Arguments: -Dprogram.name=JBossTools: WildFly 15 -Xms64m -Xmx512m -Dorg.jboss.resolver.warning=true -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=C:Usersalexawildfly-15.0.1.Finalstandalonelogoot.log -Dlogging.configuration=file:C:Usersalexawildfly-15.0.1.Finalstandaloneconfigurationlogging.properties -Djboss.home.dir=C:Usersalexawildfly-15.0.1.Final -Dorg.jboss.logmanager.nocolor=true --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED --add-modules=java.se -Djboss.bind.address.management=localhost -Dfile.encoding=Cp1252 
2021-01-26 23:54:15,876 INFO  [org.wildfly.security] (ServerService Thread Pool -- 28) ELY00001: WildFly Elytron version 1.7.0.Final
2021-01-26 23:54:16,258 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2021-01-26 23:54:16,277 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 34) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
2021-01-26 23:54:16,292 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found projet-SAJ.war in deployment directory. To trigger deployment create a file called projet-SAJ.war.dodeploy
2021-01-26 23:54:16,568 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
2021-01-26 23:54:16,579 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.6.5.Final
2021-01-26 23:54:16,584 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.6.5.Final
2021-01-26 23:54:16,609 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 76) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
2021-01-26 23:54:16,611 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 53) WFLYCLINF0001: Activating Infinispan subsystem.
2021-01-26 23:54:16,612 INFO  [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 67) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
2021-01-26 23:54:16,615 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 54) WFLYIO001: Worker 'default' has auto-configured to 24 core threads with 192 task threads based on your 12 available processors
2021-01-26 23:54:16,618 INFO  [org.wildfly.iiop.openjdk] (ServerService Thread Pool -- 52) WFLYIIOP0001: Activating IIOP Subsystem
2021-01-26 23:54:16,621 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 68) WFLYNAM0001: Activating Naming Subsystem
2021-01-26 23:54:16,622 INFO  [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 64) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
2021-01-26 23:54:16,624 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 74) WFLYSEC0002: Activating Security Subsystem
2021-01-26 23:54:16,624 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 55) WFLYRS0016: RESTEasy version 3.6.2.Final
2021-01-26 23:54:16,627 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 60) WFLYJSF0007: Activated the following JSF Implementations: [main]
2021-01-26 23:54:16,629 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 78) WFLYWS0002: Activating WebServices Extension
2021-01-26 23:54:16,631 INFO  [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 65) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
2021-01-26 23:54:16,631 INFO  [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=5.0.3.Final
2021-01-26 23:54:16,647 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0003: Undertow 2.0.15.Final starting
2021-01-26 23:54:16,652 INFO  [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool -- 66) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
2021-01-26 23:54:16,659 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.11.Final)
2021-01-26 23:54:16,671 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 45) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
2021-01-26 23:54:16,679 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
2021-01-26 23:54:16,707 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
2021-01-26 23:54:16,715 INFO  [org.jboss.as.naming] (MSC service thread 1-4) WFLYNAM0003: Starting Naming Service
2021-01-26 23:54:16,746 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.8.Final
2021-01-26 23:54:16,746 INFO  [io.smallrye.metrics] (MSC service thread 1-8) Converted [2] config entries and added [4] replacements
2021-01-26 23:54:16,751 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
2021-01-26 23:54:16,758 INFO  [io.smallrye.metrics] (MSC service thread 1-8) Converted [3] config entries and added [18] replacements
2021-01-26 23:54:16,771 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) WFLYJCA0010: Unbound data source 

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...