You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public is a keyword in java, so you can create a package containing such a keyword. We have checks for keywords (e.g. java, typescript) in place, maybe not for packagename (but I was pretty sure we have).
Overview of the issue
When trying to import an application defined in a JDL file, the project generation fails with the following error:
Motivation for or Use Case
The application cannot be imported from the JDL.
Reproduce the error
Here is a simplified JDL to reproduce the issue:
When renaming the
public
subpackage, everything works fine:Related issues
I didn't find any related issues.
Suggest a Fix
This has a low impact, a workaround is to simply rename the application package.
JHipster Version(s)
8.1.0
JHipster configuration
JHipster info:
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
The text was updated successfully, but these errors were encountered: