Package with spring.xml files only support
已回答
We have a package with Spring.xml files only, I would like to navigate corss files but it is nto working.
for example ref="bean" should naviage to a different file.
请先登录再写评论。
I downloaded it from maven and manually added it, this is super super annoying.
I dont have any special setting.
Library has to be added to the module dependencies: https://www.jetbrains.com/help/idea/creating-and-managing-modules.html#working-with-module-dependencies.
How can I mark the project as java project? it does not have java code just spring.xml files
there is no option to add dependencies
See https://www.jetbrains.com/help/idea/configuring-content-roots.html.
there is no java filder no src folder just a configs.
the whole project is config files as I said before
there is no single line of java code
For the Spring support the project has to be configured as the Java project even if you don't have Java code yet.
Your beans referenced from the context files are probably Java, right? So you do have them somewhere?
If you are new to IntelliJ IDEA and Java projects configuration, please start with https://www.jetbrains.com/help/idea/creating-and-running-your-first-java-application.html.
I import existing module, it does not give a chance to mark as Java
is there a way to force existing module to be marked as java
Importing a module with no Java code will not work, IntelliJ IDEA import feature can recognize module as Java only if it has Java code, otherwise you cannot use Import and will need to create a new project/modules from scratch on the top of the existing folders.