错误代码ERROR [main] org.springframework.web.context.ContextLoader.initWebApplicationContext(215) | Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'articleServiceImpl': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compassTemplate' defined in file [C:\Java\apache-tomcat-6.0.29\webapps\shop\WEB-INF\classes\applicationContext-compass.xml]: Cannot resolve reference to bean 'compass' while setting bean property 'compass'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compass' defined in file [C:\Java\apache-tomcat-6.0.29\webapps\shop\WEB-INF\classes\applicationContext-compass.xml]: Invocation of init method failed; nested exception is org.compass.core.config.ConfigurationException: No mapping match directory [C:\Java\apache-tomcat-6.0.29\webapps\shop\WEB-INF\classes\net\shopxx]
google,没有找到答案,有谁知道望告之,非常感谢~~~
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'articleServiceImpl': Injection of resource fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compassTemplate' defined in file [C:\Java\apache-tomcat-6.0.29\webapps\shop\WEB-INF\classes\applicationContext-compass.xml]: Cannot resolve reference to bean 'compass' while setting bean property 'compass'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compass' defined in file [C:\Java\apache-tomcat-6.0.29\webapps\shop\WEB-INF\classes\applicationContext-compass.xml]: Invocation of init method failed; nested exception is org.compass.core.config.ConfigurationException: No mapping match directory [C:\Java\apache-tomcat-6.0.29\webapps\shop\WEB-INF\classes\net\shopxx]
google,没有找到答案,有谁知道望告之,非常感谢~~~
这里做搜索引擎的人少楼主还是加些人多的QQ群 问下吧
看看别人的配置文件怎么配的感觉你索引存放的根目录是否没配置正确
No mapping match directory [C:\Java\apache-tomcat-6.0.29\webapps\shop\WEB-INF\classes\net\shopxx
看看你的配置文件
@Searchable(alias="")