aws-toolkit-eclipse
aws-toolkit-eclipse copied to clipboard
Invalid classpath string when creating new Serverless Java Proyect
When creating a new Serverless Java Proyect, the wizard doesn't allow to enter hyphens in the Group ID, nor in the Artifact ID, but that's a usual practice (at least in the artifact name), for example y Apache Commons projects.
Sample evidence:
Using:
Eclipse Java EE IDE for Web Developers. Version: Oxygen Release (4.7.0) Build id: 20170620-1800
And AWS Components:
Sorry for the slow reply. It seems this error happens because of the invalid package name. Java package name does not allow to have hyphen. The default package name is a concatenation of group id and artifact id, you may override the package name but still having hyphen in group id and artifact id.