Skip to content

IllegalArgumentException: ArquillianServletRunnerEE9 not found #159

@hantsy

Description

@hantsy

I tried to add Jetty 12/Jakarta EE9 support to my template project:

https://github.com/hantsy/jakartaee9-servlet-starter-boilerplate/

The Arquillian config for the Jetty 12/Jakarta EE 9, https://github.com/hantsy/jakartaee9-servlet-starter-boilerplate/blob/2aaabed6ba8bbfc3c87e3cd3ab5197ef28078d98/pom.xml#L490

Expected Behaviour

Work as expected like Jetty 11.

Current Behaviour
Error:  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.331 s <<< FAILURE! -- in com.example.it.GreetingServiceTest
Error:  com.example.it.GreetingServiceTest.should_create_greeting -- Time elapsed: 0.054 s <<< ERROR!
java.lang.IllegalArgumentException: ArquillianServletRunnerEE9 not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.
Steps To Reproduce
  1. clone https://github.com/hantsy/jakartaee9-servlet-starter-boilerplate/
  2. Switch to arq-jetty-12 branch
  3. Run GreetingServiceTest
Additional Information

The build env: https://github.com/hantsy/jakartaee9-servlet-starter-boilerplate/blob/2aaabed6ba8bbfc3c87e3cd3ab5197ef28078d98/.github/workflows/it-jetty-12.yml

The complete Github actions build info, https://github.com/hantsy/jakartaee9-servlet-starter-boilerplate/actions/runs/6595413820/job/17920411770

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions