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

Please share a sample project to reproduce the issue.

0
Avatar
Permanently deleted user

It is very simple:

in file A.xml

<bean id="test" class="com.Test" >
<constructor-arg name="input" ref="refB"/>

in file
B.xml
<bean id="refB" ... >

Right now refB is not recognized in A.xml, it appears red.
0

Please check that Spring Context is configured correctly and and includes all the files: https://www.jetbrains.com/help/idea/spring-support.html.

0
Avatar
Permanently deleted user

I cant see Spring in the list

 

 

  • Press ⌘; to open the Project Structure dialog.

  • From the left-hand list, select Modules.

  • Select the necessary module and click the Add button in the middle section.

  • Select Spring from the list.

 

0
Avatar
Permanently deleted user

Select Spring from the list, I dont see Spring when I click on +

0
Avatar
Permanently deleted user

the package only has xml files

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

when I click on + I see new module and import module.

0

See the Facets menu, not Modules, make sure you have IntelliJ IDEA Ultimate.

0
Avatar
Permanently deleted user

I have ultimate

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

for some reason I dont see the package I want.

I see other packages.

also when I click on the module and click on add framework support Idont see Spring

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

spring support installed

0
Avatar
Permanently deleted user

Am in missing something here?

0

We need to check that your modules are Java modules and you have Spring dependencies in the project libraries.

0
Avatar
Permanently deleted user

it is company project, cant share it.

 

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

do you know why is this happening

0

Check your proxy settings.

0
Avatar
Permanently deleted user

I am not aware of any special proxy that blocks this, I behind company proxy though.

is there a work around like manually pushing those jars, what jars do I need exactly for just basic spring navigation.

I want the most basic thing

0

Add all the jars from the Spring lib directory you've downloaded.

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

I have no proxy btw, why is this so complex

0

Probably because of your company security settings for network access. You can still download and configure Spring libraries manually from your browser.

0
Avatar
Permanently deleted user

0
Avatar
Permanently deleted user

I added spring core library, still complaining

0

请先登录再写评论。