project more and more, using eclipse felt too card, decided to try the idea.
under multiple modules, system.getproperty (“user.dir”) gets the path to the module when you run the project.
to set the default Working Directory span> span> span> p>
setting method:
Run -> Edit Configurations -> Working directory span> p>
Defaults-> Application
set Working directory to $MODULE_DIR$so that each module gets its own project root path
Read More:
- Idea ignores compilation errors and runs in eclipse compilation mode
- Idea error: error in method comment @ param parameter
- R language – path setting and working directory modification
- node.js Cannot find module “XXX” solution
- Failed to get the resources path in the jar package, reporting an error null pointer
- Eclipse package explorer related problems and Solutions
- Solution to prompt “cannot find module ‘eslint config defaults / configurations / eslint’” when submitting with Git
- Jdk11, using JavaFX in eclipse
- Under Ubuntu environment, eclipse writes C program, and error starting process is reported
- Solve the problem of pychar import error
- Idea: error running Name: command line is too long
- Solve the problem of Chinese garbled code of actibpm plug-in in idea
- Idea | change the default configuration of idea to open a new project
- IntelliJ idea / eclipse automatically generate author annotation signature
- Android Studio error “Manifest merger failed with multiple errors, see logs” solution
- Set code indent to space indent in eclipse
- There is more than one Web fragment with the same name: “spring_web”.
- Start Eclipse and pop up the “Failed to load the JNI shared library jvm.dll” dialog box
- Modifying SVN user name and password in eclipse
- Solution to the problem of Chinese garbled in gradle console in idea