Replies: 3 comments 3 replies
-
Can you please add more info about the build environment, java version and the command used to build with, notice that the development branch build here https://github.com/DominoKit/domino-ui/actions was broken at some point but was fixed later. |
Beta Was this translation helpful? Give feedback.
-
AFAIK, anonymous classes are introduced in Java 9. Looks like you are trying to build the project with sourceLevel 8 or lower. |
Beta Was this translation helpful? Give feedback.
-
Environment is:
Also maven says: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to use the development branch (HEAD-SNAPSHOT) to test the latest changes, however I am not able to build my project using that branch. 2.0.3 worked fine, I receive the below error which is connected to LimitOneOfPrefixedCssClass.java class:
[INFO] [ERROR] Errors in 'jar:file:/C:/Users/ri.gers/.m2/repository/org/dominokit/domino-ui-shared/HEAD-SNAPSHOT/domino-ui-shared-HEAD-SNAPSHOT.jar!/org/dominokit/domino/ui/style/LimitOneOfPrefixedCssClass.java'
[INFO] [ERROR] Line 83: '<>' cannot be used with anonymous classes
[INFO] [ERROR] Line 65: '<>' cannot be used with anonymous classes
[INFO] [ERROR] Aborting compile due to errors in some input files
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:32 min
[INFO] Finished at: 2025-05-19T14:48:26+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.1.0:compile (default) on project gwt-highcharts: GWT exited with status 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Beta Was this translation helpful? Give feedback.
All reactions