Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on the Fundamentals of Java EE Development, Red Hat (JB083x  course) through edX.
I completed chapters 1 and 2 successfully.
For chapters 3, I did:
...
[INFO] Surefire report directory: /home/ak/Fundamentals_of_Java_EE_Development_Red_Hat/JB083x-lab/labs/stateless-ejb/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.redhat.training.ejb.EJBTest
Apr 26, 2020 11:21:34 AM org.xnio.Xnio <clinit>
INFO: XNIO version 3.3.6.Final-redhat-1
Apr 26, 2020 11:21:34 AM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.3.6.Final-redhat-1
Apr 26, 2020 11:21:34 AM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 4.0.18.Final-redhat-1
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.579 sec <<< FAILURE!

Results :

Tests in error:
 testHelloEJB(com.redhat.training.ejb.EJBTest): ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.814 s
[INFO] Finished at: 2020-04-26T11:21:35-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project stateless-ejb: There are test failures.
[ERROR]
[ERROR] Please refer to /home/ak/Fundamentals_of_Java_EE_Development_Red_Hat/JB083x-lab/labs/stateless-ejb/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException




The same error occurred for either
EAP-7.3.0 or
wildfly-15.0.1.Final.

I tried changing the pom.xml from

to either
2.1.1.Final
to
2.0.2.Final


My environment are:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/ak/maven/apache-maven-3.6.3
Java version: 1.8.0_251, vendor: Oracle Corporation, runtime: /home/ak/jdk/jdk1.8.0_251/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-38-generic", arch: "amd64", family: "unix"
 
Did you miss me? Did you miss this tiny ad?
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic