![]() Obviously, how can intellij import the file under the weired directory with the name a.b.c. But what we really need is the 3 levels directory: net->gongmingqm10->sketchīut before I finish building my project in Intellij, I create new directory named, which will give me a real directory with the name. Move all the files from the old troubling packages to new package.Īs you can see from the tree. Create a new directory with the same name. artifacts window and select JAR -> empty. Now, a library developer can release a single JAR file that. Intellij keeps complain can not resolve symbol on import.īuild the project first, and mark the main/java as the source root. Here are the steps and some advice for multi-release JAR files using IntelliJ IDEA's.If you use other build systems such as Gralde or Maven, you need to use the resources folder to store the MANIFEST.MF file. If you build your JAR file with IntelliJ IDEA, IntelliJ IDEA will pick the location to the MANIFEST.MF file automatically. I got the error while I try to use import School in User.java. The path to the directory in which META-INF/MANIFEST.MF is generated.Create User.java and School.java in the existing package. ![]() Add some dependencies in adle file, and gradle build, reimport the project.Use gradle wrapper, gradle idea to build the gradle stuff for the project.Create an empty project, and create new directory src/main/java.I also got this error for multiple times when I try to build a new java project.īelow is the step how I got this stupid issue. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |