Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with Java 11 #335

Closed
mpkumar87 opened this issue Aug 23, 2018 · 2 comments
Closed

Build with Java 11 #335

mpkumar87 opened this issue Aug 23, 2018 · 2 comments
Assignees
Milestone

Comments

@mpkumar87
Copy link

Hi,

Build fail with java 10.

[ERROR] /C:/xampp/htdocs/dcm4che-master/dcm4che-audit/src/main/java/org/dcm4che3/audit/AuditMessages.java:[942,32] cannot find symbol
symbol: class AuditMessage

[INFO] Reactor Summary:
[INFO]
[INFO] dcm4che DICOM toolkit and utilities 5.14.0 ......... SUCCESS [ 1.805 s]
[INFO] dcm4che-audit ...................................... FAILURE [ 27.462 s]

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T00:03:14+05:30)
Maven home: C:\Program Files\apache-maven-3.5.4\bin..
Java version: 10.0.2, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-10.0.2
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Please guide me to resolve this issue.

Thanks.

@nicomlas
Copy link

nicomlas commented Jan 4, 2019

Hi,
The problem is that maven doesn't trigger the source generation.
Do it manually or add the phase tag in the execution part in the dcm4che-audit/pom.xml :

<executions> <execution> <id>xjc</id> <goals> <goal>xjc</goal> </goals> <phase>generate-sources</phase> </execution> </executions>

Then, execute mvn install, it should work.
Regards.

nicomlas added a commit to nicomlas/dcm4che that referenced this issue Jan 4, 2019
@gunterze
Copy link
Member

Related: mojohaus/jaxb2-maven-plugin#104

@gunterze gunterze self-assigned this Mar 22, 2019
@gunterze gunterze added this to the 5.16.1 milestone Mar 22, 2019
@gunterze gunterze changed the title Build fails with Java 10 Build with Java 11 Apr 5, 2019
patrick-peer pushed a commit to patrick-peer/dcm4che that referenced this issue Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants