We're updating the issue view to help you get more done. 

Build fails with Java 9

Description

Using java 9 fails the build:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 :inspectit.server:schemagen-/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/build/schema-check/ciSchema.xsd FAILED :inspectit.server:schemagen-/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/build/schema-check/configurationSchemaCheck.xsd [ant:schemagen] anomalous package-info.java path: package-info.java :inspectit.server:schemagen-/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/build/schema-check/configurationSchemaCheck.xsd FAILED :inspectit.server:schemagen-/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/build/schema-check/configurationUpdateSchemaCheck.xsd [ant:schemagen] anomalous package-info.java path: package-info.java :inspectit.server:schemagen-/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/build/schema-check/configurationUpdateSchemaCheck.xsd FAILED FAILURE: Build completed with 3 failures. 1: Task failed with an exception. ----------- * Where: Build file '/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/inspectit.server.gradle' line: 148 * What went wrong: Execution failed for task ':inspectit.server:schemagen-/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/build/schema-check/ciSchema.xsd'. > java.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ============================================================================== 2: Task failed with an exception. ----------- * Where: Build file '/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/inspectit.server.gradle' line: 148 * What went wrong: Execution failed for task ':inspectit.server:schemagen-/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/build/schema-check/configurationSchemaCheck.xsd'. > java.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ============================================================================== 3: Task failed with an exception. ----------- * Where: Build file '/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/inspectit.server.gradle' line: 148 * What went wrong: Execution failed for task ':inspectit.server:schemagen-/home/ise/workspace/inspectIT/ivansenic-inspectit/inspectit.server/build/schema-check/configurationUpdateSchemaCheck.xsd'. > java.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ============================================================================== BUILD FAILED

Environment

java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

Status

Assignee

Unassigned

Reporter

Ivan Senic

Labels

None

Pull Request

None

Integrator

None

Affects versions

1.8.4

Priority

Low