Giter Site home page Giter Site logo

Comments (7)

etki avatar etki commented on June 30, 2024 3

It seems that previously available core classes have been moved to module and then deprecated in java 12. Is it possible to try to add following dependency to plugin?

<dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>jaxb-api</artifactId>
    <version>2.2.11</version>
</dependency>

I believe that will resolve the issue with missing deps on j9+

from allure-maven.

andrey-ryoo avatar andrey-ryoo commented on June 30, 2024 1

But works with mvn test ...

from allure-maven.

baev avatar baev commented on June 30, 2024

can't reproduce the problem. Allure Maven plugin uses the same version of java that maven did

from allure-maven.

baev avatar baev commented on June 30, 2024

Maybe the problem is that you are uses bundled Maven from IDE?

from allure-maven.

andrey-ryoo avatar andrey-ryoo commented on June 30, 2024

Have the same issue
Oracle JDK 9.0.4
Maven 3.5.3
Allure 2.6.0
TestNG 6.14.2
AspectJ 1.9.0.RC2
InteliJ IDEA 2017.3.4

java.util.ServiceConfigurationError: org.testng.ITestNGListener: Provider io.qameta.allure.testng.AllureTestNg could not be instantiated at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:581) at java.base/java.util.ServiceLoader.access$100(ServiceLoader.java:390) at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:799) at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:721) at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1389) at org.testng.TestNG.addServiceLoaderListeners(TestNG.java:967) at org.testng.TestNG.initializeConfiguration(TestNG.java:906) at org.testng.TestNG.initializeEverything(TestNG.java:996) at org.testng.TestNG.run(TestNG.java:1009) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123) Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:139) at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:126) at io.qameta.allure.model.Allure2ModelJackson.createMapper(Allure2ModelJackson.java:26) at io.qameta.allure.FileSystemResultsWriter.<init>(FileSystemResultsWriter.java:30) at io.qameta.allure.AllureLifecycle.getDefaultWriter(AllureLifecycle.java:281) at io.qameta.allure.AllureLifecycle.<init>(AllureLifecycle.java:47) at io.qameta.allure.Allure.getLifecycle(Allure.java:30) at io.qameta.allure.testng.AllureTestNg.<init>(AllureTestNg.java:119) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488) at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:777) ... 8 more Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlElement at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) ... 21 more

from allure-maven.

writetomaha avatar writetomaha commented on June 30, 2024

can i generate the allure reports without Java Installation, I am using allure bdd for python. without Java i am unable to generate the reports

from allure-maven.

uterator avatar uterator commented on June 30, 2024

with <reportVersion>2.7.0</reportVersion> it was able to generate the report

from allure-maven.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.