开发者

Eclipse RCP Application Fails to launch second time

I have an Eclipse RCP application that will launch properly after a clean install (right after build).

The issue is that if I try to launch the application a second time the application throws an exception.

I have narrowed the issue down to this file being created after the first run: ~install_dir/configuration/org.eclipse.osgi/.state

Has anyone run into a similar issue where the .state file prevents the application from being launched anytime after that first run?

I'm hesitant to look at the exception as this does not happen the first time, so I suspect org.ec开发者_如何学JAVAlipse.osgi is more to blame.

The details of the exception are: "Error creating bean with name 'luceneRawQueryComposer' defined in class path resource [spring/dataaccess/daoCMClient.xml]: Cannot resolve reference to bean 'indexUtility' while setting bean property 'indexUtility'; NoSuchBeanDefinitionException


I ran into this problem some months ago as well. I am not sure anymore what caused it, and how I fixed it. I remember that I fixed it after some intensive search in the Web, so the answer is somewhere out there ;-) Some hints: Do you have a generated or an own config.ini file? Because in the back of my head I think I remember that using the generated config instead of the own one, solved the issue.

Hope this helpd...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜