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.

评论操作 固定链接

Please share a sample project to reproduce the issue.

0
评论操作 固定链接

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
评论操作 固定链接

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
评论操作 固定链接

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

0
评论操作 固定链接

the package only has xml files

0
评论操作 固定链接

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
评论操作 固定链接

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
评论操作 固定链接

spring support installed

0
评论操作 固定链接

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
评论操作 固定链接

it is company project, cant share it.

 

0
评论操作 固定链接

do you know why is this happening

0
评论操作 固定链接

Check your proxy settings.

0
评论操作 固定链接

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
评论操作 固定链接

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
评论操作 固定链接

I added spring core library, still complaining

0

请先登录再写评论。