{"action":"created","issue":{"url":"https://api.github.com/repos/authzforce/restful-pdp/issues/4","repository_url":"https://api.github.com/repos/authzforce/restful-pdp","labels_url":"https://api.github.com/repos/authzforce/restful-pdp/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/authzforce/restful-pdp/issues/4/comments","events_url":"https://api.github.com/repos/authzforce/restful-pdp/issues/4/events","html_url":"https://github.com/authzforce/restful-pdp/issues/4","id":331300211,"node_id":"MDU6SXNzdWUzMzEzMDAyMTE=","number":4,"title":"java 11 dependency problems","user":{"login":"stepoio","id":2014265,"node_id":"MDQ6VXNlcjIwMTQyNjU=","avatar_url":"https://avatars3.githubusercontent.com/u/2014265?v=4","gravatar_id":"","url":"https://api.github.com/users/stepoio","html_url":"https://github.com/stepoio","followers_url":"https://api.github.com/users/stepoio/followers","following_url":"https://api.github.com/users/stepoio/following{/other_user}","gists_url":"https://api.github.com/users/stepoio/gists{/gist_id}","starred_url":"https://api.github.com/users/stepoio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepoio/subscriptions","organizations_url":"https://api.github.com/users/stepoio/orgs","repos_url":"https://api.github.com/users/stepoio/repos","events_url":"https://api.github.com/users/stepoio/events{/privacy}","received_events_url":"https://api.github.com/users/stepoio/received_events","type":"User","site_admin":false},"labels":[{"id":760714063,"node_id":"MDU6TGFiZWw3NjA3MTQwNjM=","url":"https://api.github.com/repos/authzforce/restful-pdp/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true}],"state":"closed","locked":false,"assignee":{"login":"cdanger","id":1372580,"node_id":"MDQ6VXNlcjEzNzI1ODA=","avatar_url":"https://avatars2.githubusercontent.com/u/1372580?v=4","gravatar_id":"","url":"https://api.github.com/users/cdanger","html_url":"https://github.com/cdanger","followers_url":"https://api.github.com/users/cdanger/followers","following_url":"https://api.github.com/users/cdanger/following{/other_user}","gists_url":"https://api.github.com/users/cdanger/gists{/gist_id}","starred_url":"https://api.github.com/users/cdanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdanger/subscriptions","organizations_url":"https://api.github.com/users/cdanger/orgs","repos_url":"https://api.github.com/users/cdanger/repos","events_url":"https://api.github.com/users/cdanger/events{/privacy}","received_events_url":"https://api.github.com/users/cdanger/received_events","type":"User","site_admin":false},"assignees":[{"login":"cdanger","id":1372580,"node_id":"MDQ6VXNlcjEzNzI1ODA=","avatar_url":"https://avatars2.githubusercontent.com/u/1372580?v=4","gravatar_id":"","url":"https://api.github.com/users/cdanger","html_url":"https://github.com/cdanger","followers_url":"https://api.github.com/users/cdanger/followers","following_url":"https://api.github.com/users/cdanger/following{/other_user}","gists_url":"https://api.github.com/users/cdanger/gists{/gist_id}","starred_url":"https://api.github.com/users/cdanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdanger/subscriptions","organizations_url":"https://api.github.com/users/cdanger/orgs","repos_url":"https://api.github.com/users/cdanger/repos","events_url":"https://api.github.com/users/cdanger/events{/privacy}","received_events_url":"https://api.github.com/users/cdanger/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-11T18:29:59Z","updated_at":"2018-12-20T08:44:56Z","closed_at":"2018-07-06T21:11:41Z","author_association":"NONE","body":"Following the \"Getting Started\" section fails with OpenJDK-11. OpenJDK-8 is working fine.\r\nSystem: Ubuntu 18.04, Debian testing.  fails.  works. \r\n\r\n```\r\nReason:\r\nException in thread \"main\" java.lang.reflect.InvocationTargetException\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:564)\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:104)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:61)\r\n\tat org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:621)\r\nCaused by: java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication\r\n\tat org.ow2.authzforce.rest.pdp.cxf.springboot.CxfJaxrsPdpSpringBootApp.main(CxfJaxrsPdpSpringBootApp.java:50)\r\n\t... 8 more\r\nCaused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication\r\n\tat java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)\r\n\tat java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)\r\n\tat java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)\r\n\t... 9 more\r\njava.lang.RuntimeException: java.lang.reflect.InvocationTargetException\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:104)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:61)\r\n\tat org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:621)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:564)\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54)\r\n\t... 3 more\r\nCaused by: java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication\r\n```\r\n\r\n\r\nRunning 'mvn package' fails with:\r\n\r\n```\r\n-------------------------------------------------------\r\nRunning org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest\r\nTests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 0.206 sec <<< FAILURE! - in org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest\r\ninitialize(org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest)  Time elapsed: 0.119 sec  <<< FAILURE!\r\njava.lang.NoClassDefFoundError: javax/xml/bind/JAXBException\r\n\tat org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest.startServer(XacmlRestProfileJaxRsTest.java:65)\r\n\tat org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest.initialize(XacmlRestProfileJaxRsTest.java:86)\r\nCaused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException\r\n\tat org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest.startServer(XacmlRestProfileJaxRsTest.java:65)\r\n\tat org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest.initialize(XacmlRestProfileJaxRsTest.java:86)\r\n\r\n\r\nResults :\r\n\r\nFailed tests: \r\n  XacmlRestProfileJaxRsTest.initialize:86->startServer:65 NoClassDefFound javax/...\r\n\r\n```\r\nWhich might be the problem addressed [here](https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j).\r\n\r\nAdding to the pom.xml of jaxrs:\r\n```\r\n<!-- Java 6 = JAX-B Version 2.0   -->\r\n\t\t<!-- Java 7 = JAX-B Version 2.2.3 -->\r\n\t\t<!-- Java 8 = JAX-B Version 2.2.8 -->\r\n\t\t<dependency>\r\n\t\t    <groupId>javax.xml.bind</groupId>\r\n\t\t    <artifactId>jaxb-api</artifactId>\r\n\t\t    <version>2.2.11</version>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t    <groupId>com.sun.xml.bind</groupId>\r\n\t\t    <artifactId>jaxb-core</artifactId>\r\n\t\t    <version>2.2.11</version>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t    <groupId>com.sun.xml.bind</groupId>\r\n\t\t    <artifactId>jaxb-impl</artifactId>\r\n\t\t    <version>2.2.11</version>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t        <groupId>javax.activation</groupId>\r\n\t        \t<artifactId>activation</artifactId>\r\n\t        <version>1.1.1</version>\r\n        </dependency>\r\n```\r\nleads to `mvn package` failing with \r\n\r\n```\r\n[INFO] Building org.ow2.authzforce:authzforce-ce-restful-pdp-jaxrs 1.3.0\r\n[INFO] ------------------------------------------------------------------------\r\n[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details\r\n[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details\r\n[INFO] \r\n[INFO] --- license-maven-plugin:3.0:format (format-sources-license) @ authzforce-ce-restful-pdp-jaxrs ---\r\n[INFO] Updating license headers...\r\n[INFO] \r\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ authzforce-ce-restful-pdp-jaxrs ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] skip non existing resourceDirectory /home/stepo/workspace/restful-pdp/jaxrs/src/main/resources\r\n[INFO] \r\n[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ authzforce-ce-restful-pdp-jaxrs ---\r\n[INFO] Nothing to compile - all classes are up to date\r\n[INFO] \r\n[INFO] --- license-maven-plugin:3.0:format (format-test-sources-license) @ authzforce-ce-restful-pdp-jaxrs ---\r\n[INFO] Updating license headers...\r\n[INFO] \r\n[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ authzforce-ce-restful-pdp-jaxrs ---\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] Copying 8 resources\r\n[INFO] \r\n[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ authzforce-ce-restful-pdp-jaxrs ---\r\n[INFO] Nothing to compile - all classes are up to date\r\n[INFO] \r\n[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ authzforce-ce-restful-pdp-jaxrs ---\r\n\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\nRunning org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest\r\nSLF4J: Failed to load class \"org.slf4j.impl.StaticLoggerBinder\".\r\nSLF4J: Defaulting to no-operation (NOP) logger implementation\r\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\r\nWARNING: An illegal reflective access operation has occurred\r\nWARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/stepo/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)\r\nWARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector\r\nWARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations\r\nWARNING: All illegal access operations will be denied in a future release\r\nTests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 0.899 sec <<< FAILURE! - in org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest\r\ninitialize(org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest)  Time elapsed: 0.84 sec  <<< FAILURE!\r\njava.lang.NoClassDefFoundError: javax/xml/ws/WebServiceFeature\r\n\tat org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest.startServer(XacmlRestProfileJaxRsTest.java:74)\r\n\tat org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest.initialize(XacmlRestProfileJaxRsTest.java:86)\r\nCaused by: java.lang.ClassNotFoundException: javax.xml.ws.WebServiceFeature\r\n\tat\r\norg.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest.startServer(XacmlRestProfileJaxRsTest.java:74)\r\n\tat org.ow2.authzforce.rest.pdp.jaxrs.test.XacmlRestProfileJaxRsTest.initialize(XacmlRestProfileJaxRsTest.java:86)\r\n```\r\n\r\nAt which point I'm stuck. I'm guessing resolving `[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details` is the next step?\r\n"},"comment":{"url":"https://api.github.com/repos/authzforce/restful-pdp/issues/comments/448918883","html_url":"https://github.com/authzforce/restful-pdp/issues/4#issuecomment-448918883","issue_url":"https://api.github.com/repos/authzforce/restful-pdp/issues/4","id":448918883,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODkxODg4Mw==","user":{"login":"avolkov724","id":16452485,"node_id":"MDQ6VXNlcjE2NDUyNDg1","avatar_url":"https://avatars2.githubusercontent.com/u/16452485?v=4","gravatar_id":"","url":"https://api.github.com/users/avolkov724","html_url":"https://github.com/avolkov724","followers_url":"https://api.github.com/users/avolkov724/followers","following_url":"https://api.github.com/users/avolkov724/following{/other_user}","gists_url":"https://api.github.com/users/avolkov724/gists{/gist_id}","starred_url":"https://api.github.com/users/avolkov724/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avolkov724/subscriptions","organizations_url":"https://api.github.com/users/avolkov724/orgs","repos_url":"https://api.github.com/users/avolkov724/repos","events_url":"https://api.github.com/users/avolkov724/events{/privacy}","received_events_url":"https://api.github.com/users/avolkov724/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T08:44:56Z","updated_at":"2018-12-20T08:44:56Z","author_association":"NONE","body":"Hi! I have the same problem: OpenJDK-11, same maven output. \r\n\r\n>so please let me know how it goes\r\nYour solution doesn't help me(("}}
{"actor":{"display_login":"avolkov724"}}