简体   繁体   中英

While importing maven projects showing project name in small - sts

I have some projects and those project names are in capital letters. I have to install maven dependency so by right-clicking on that project I choose 'Import maven projects' then that project name is showing in project explorer in small letters.

But, it should be in a capital letter like the previous one.

TFLEX_PROJECT1 -> Import maven project -> tflex_project1 ( coming after importing)

What configuration I have done wrong in STS so it is showing like that?

If anyone is facing this issue please let me know the configuration.

Look for the name in pom.xml. The project name must have in lowercase in pom.xml

You should not define the package name in capital letters. The STS is working as per java standards. but if you still want to change the project name to uppercase then consider Refactoring-> Rename it will automatically update the project name in all locations (like pom.xml/package name in every class).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM