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.

1
Avatar
Permanently deleted user

I downloaded it from maven and manually added it, this is super super annoying.

I dont have any special setting.

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

How can I mark the project as java project? it does not have java code just spring.xml files

0
Avatar
Permanently deleted user

there is no option to add dependencies

0
Avatar
Permanently deleted user

there is no java filder no src folder just a configs.

0
Avatar
Permanently deleted user

the whole project is config files as I said before

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

there is no single line of java code

0

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.

0
Avatar
Permanently deleted user

I import existing module, it does not give a chance to mark as Java

0
Avatar
Permanently deleted user

is there a way to force existing module to be marked as java

0

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.

0

请先登录再写评论。