org.springframework.richclient.application.ApplicationException

Unable to start rich client application

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12

  • via Unknown by Dror Bereznitsky,
  • via Unknown by Dror Bereznitsky,
  • Stack trace

    • org.springframework.richclient.application.ApplicationException: Unable to start rich client application at org.springframework.richclient.application.ApplicationLauncher.loadRootApplicationContext(ApplicationLauncher.java:158) at org.springframework.richclient.application.ApplicationLauncher.<init>(ApplicationLauncher.java:102) at org.jfrog.maven.viewer.Main.<init>(Main.java:40) at org.jfrog.maven.viewer.Main.main(Main.java:30) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'artifactFactory' defined in class path resource [org/jfrog/maven/viewer/ctx/common/richclient-application-context.xml]: Cannot resolve refere nce to bean 'daoFactory' while setting bean property 'daoFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoFactory' defined in class path resource [org/jfrog/maven/viewe r/ctx/common/richclient-application-context.xml]: Instantiation of bean failed; nested exception is org.springframework. beans.BeanInstantiationException: Could not instantiate bean class [org.jfrog.maven.viewer.dao.DaoFactoryImpl]: Constructor threw exception; nested exception is java.lang.RuntimeException: Could not create DefaultMavenProjectDao instance at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313) at org.springframework.richclient.application.ApplicationLauncher.loadRootApplicationContext(ApplicationLauncher.java:150) ... 3 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoFactory' defined in class path resource [org/jfrog/maven/viewer/ctx/common/richclient-application-context.xml]: Instantiation of bean fail ed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jfrog.maven.viewer.dao.DaoFactoryImpl]: Constructor threw exception; nested exception is java.lang.RuntimeException: Could n ot create DefaultMavenProjectDao instance at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:403) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186) ... 12 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jfrog.maven.viewer.dao.DaoFactoryImpl]: Constructor threw exception; nested exception is java.lang.RuntimeException: Could not create DefaultMavenProjectDao instance at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:186) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:52) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:486) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:362) ... 15 more Caused by: java.lang.RuntimeException: Could not create DefaultMavenProjectDao instance at org.jfrog.maven.viewer.dao.DefaultMavenProjectDao.<init>(DefaultMavenProjectDao.java:104) at org.jfrog.maven.viewer.dao.DaoFactoryImpl.<init>(DaoFactoryImpl.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:171) ... 19 more Caused by: java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method. at org.apache.maven.embedder.MavenEmbedder.createMavenSettings(MavenEmbedder.java:654) at org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:588) at org.jfrog.maven.viewer.dao.DefaultMavenProjectDao.<init>(DefaultMavenProjectDao.java:74) ... 25 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.