How to Resolve Java Impl Errors

Asked 2 years ago, Updated 2 years ago, 29 views

http://doma.seasar.org/downloads.html
When I put in the doma tutorial project on the above site,
private final EmployeeDao dao = new EmployeeDaoImpl();
There is an error in the Impl area.

This Impl is generated by doma, but it is not recognized and the following error appears.
·Exception brown by Java announcement processor org.seasar.doma.internal.apt.DomainProcessor@45e9d62e
·Exception brown by Java announcement processor org.seasar.doma.internal.apt.EntityProcessor@68078b76
·Exception brown by Java announcement processor org.seasar.doma.internal.apt.DaoProcessor@2cab1ba7

Confirmation
·The build path contains the jar of doma, h2, and junit
·All annotation processing has zippers
·Factory pass is passed

If anyone knows how to resolve this error, please let me know.

path

java

2022-09-30 16:24

1 Answers

Simply put, 1.35.0 which can be downloaded from the link provided in the questionnaire is released in 2013 and is not compatible with Java 9 or later.

The version 1 line no longer appears to be maintained, so you should use Version 2 (Japanese version ).

Getting Started (In Japanese, "Let's get started!") may be equivalent to the tutorial in the questionnaire.

For the time being, the difference between pom.xml that modified the tutorial so that it can be built in Java 11 is here.


2022-09-30 16:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.