aws-toolkit-eclipse icon indicating copy to clipboard operation
aws-toolkit-eclipse copied to clipboard

Invalid classpath string when creating new Serverless Java Proyect

Open gvasquez95 opened this issue 5 years ago • 1 comments

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:

captura de pantalla 2018-12-13 a la s 10 54 32

Using:

Eclipse Java EE IDE for Web Developers. Version: Oxygen Release (4.7.0) Build id: 20170620-1800

And AWS Components:

captura de pantalla 2018-12-13 a la s 10 58 24

gvasquez95 avatar Dec 13 '18 13:12 gvasquez95

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.

zhangzhx avatar Feb 13 '19 01:02 zhangzhx