How to configure Spring facet in IntelliJ IDEA -


i'm new intellij 14.0 . using netbeans, colleagues told me shift intellij , did.

i need run same project ran on netbeans in intellij. project i'm working on made of grails , spring. when tried run project using intellij get.

spring configuration check unmapped spring configuration files found. please configure/setup spring facet modules: ......... (1 file)

and file.

applicationcontext.xml

<?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans"     xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"     xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">      <bean id="grailsapplication" class="org.codehaus.groovy.grails.commons.grailsapplicationfactorybean">         <description>grails application factory bean</description>         <property name="grailsdescriptor" value="/web-inf/grails.xml" />         <property name="grailsresourceloader" ref="grailsresourceloader" />     </bean>      <bean id="pluginmanager" class="org.codehaus.groovy.grails.plugins.grailspluginmanagerfactorybean">         <description>a bean manages grails plugins</description>         <property name="grailsdescriptor" value="/web-inf/grails.xml" />         <property name="application" ref="grailsapplication" />     </bean>      <bean id="grailsconfigurator" class="org.codehaus.groovy.grails.commons.spring.grailsruntimeconfigurator">         <constructor-arg>             <ref bean="grailsapplication" />         </constructor-arg>         <property name="pluginmanager" ref="pluginmanager" />     </bean>      <bean id="grailsresourceloader" class="org.codehaus.groovy.grails.commons.grailsresourceloaderfactorybean" />      <bean id="characterencodingfilter" class="org.springframework.web.filter.characterencodingfilter">         <property name="encoding">             <value>utf-8</value>         </property>     </bean>      <bean id="conversionservice" class="org.springframework.context.support.conversionservicefactorybean" /> </beans> 

honestly, dont have idea how fix it. based on understanding looking modules not fix it. tried "add framework support" . couldn't find spring in list.

could me fix this? thanks

go file/project structure/modules, click green plus icon, select spring dropdown , select module in next dialog.

then click green plus in right pane, click plus , select spring configuration files , classes , click ok.

also take @ intellij help spring facet.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -