org.springframework.richclient.application.ApplicationException: Unable to start rich client application

JFrog JIRA | Dror Bereznitsky | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    0 [main] INFO org.jfrog.maven.viewer.common.Config - Using config file found at: D:\dev\tools\dependency-analyzer-1 .0.3-rc0\bin\..\config\viewer.properties 1109 [main] FATAL org.jfrog.maven.viewer.dao.DefaultMavenProjectDao - Could not create DefaultMavenProjectDao instance java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location u sing 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) 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) 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) 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) 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) 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) 1156 [main] ERROR org.jfrog.maven.viewer.Main - RuntimeException during startup 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

    JFrog JIRA | 10 years ago | Dror Bereznitsky
    org.springframework.richclient.application.ApplicationException: Unable to start rich client application
  2. 0

    0 [main] INFO org.jfrog.maven.viewer.common.Config - Using config file found at: D:\dev\tools\dependency-analyzer-1 .0.3-rc0\bin\..\config\viewer.properties 1109 [main] FATAL org.jfrog.maven.viewer.dao.DefaultMavenProjectDao - Could not create DefaultMavenProjectDao instance java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location u sing 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) 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) 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) 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) 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) 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) 1156 [main] ERROR org.jfrog.maven.viewer.Main - RuntimeException during startup 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

    JFrog JIRA | 10 years ago | Dror Bereznitsky
    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
  3. 0

    [BAM-5276] Maven embedder throws exception if $USER/.m2 is not existing or in a different location - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I can not use the plugin (see below). I have restarted eclipse using -clean. In the Plugins-View and the Plugin-Registriy View i can not found a maven entry. In Product Confiuration Window the maven entry seems to be ok. Thomas Problems: 1) if i try to vistit the preference page I got following message : Unable to create the selected prefenrens page. Reasen plugin was unable to load class ..Maven2Preference page 2) if i try to enable maven 2 plugin i got following 3 stacktraces: stacktrace 1################################### eclipse.buildId=M20060921-0945 java.version=1.5.0_08 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments: -os win32 -ws win32 -arch x86 -clean Error Wed Nov 01 16:38:38 CET 2006 Could not create action delegate for id: org.maven.ide.eclipse.enableAction stacktrace 2 ############################################## eclipse.buildId=M20060921-0945 java.version=1.5.0_08 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments: -os win32 -ws win32 -arch x86 -clean Error Wed Nov 01 16:38:38 CET 2006 An error occurred while automatically activating bundle org.maven.ide.eclipse (400). org.osgi.framework.BundleException: Exception in org.maven.ide.eclipse.Maven2Plugin.start() of bundle org.maven.ide.eclipse. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1010) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238) at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:120) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:225) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) 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:699) at org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:628) at org.maven.ide.eclipse.Maven2Plugin.createEmbedder(Maven2Plugin.java:269) at org.maven.ide.eclipse.Maven2Plugin.getMavenEmbedder(Maven2Plugin.java:157) at org.maven.ide.eclipse.Maven2Plugin.executeInEmbedder(Maven2Plugin.java:167) at org.maven.ide.eclipse.Maven2Plugin.start(Maven2Plugin.java:112) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985) ... 48 more Root exception: 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:699) at org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:628) at org.maven.ide.eclipse.Maven2Plugin.createEmbedder(Maven2Plugin.java:269) at org.maven.ide.eclipse.Maven2Plugin.getMavenEmbedder(Maven2Plugin.java:157) at org.maven.ide.eclipse.Maven2Plugin.executeInEmbedder(Maven2Plugin.java:167) at org.maven.ide.eclipse.Maven2Plugin.start(Maven2Plugin.java:112) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238) at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:120) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:225) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) stacktrace 3############################ eclipse.buildId=M20060629-1905 java.version=1.5.0_08 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -showLocation Command-line arguments: -os win32 -ws win32 -arch x86 -clean -showLocation Error Wed Nov 01 16:10:22 CET 2006 Plug-in org.maven.ide.eclipse was unable to load class org.maven.ide.eclipse.actions.EnableNatureAction. java.lang.ClassNotFoundException: org.maven.ide.eclipse.actions.EnableNatureAction at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:407) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:276) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238) at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:120) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:225) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)

    Sonatype JIRA | 1 decade ago | Deleted User
    java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.apache.maven
      MavenEmbedder.start
      1. org.apache.maven.embedder.MavenEmbedder.createMavenSettings(MavenEmbedder.java:654)
      2. org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:588)
      2 frames
    3. org.jfrog.maven
      DaoFactoryImpl.<init>
      1. org.jfrog.maven.viewer.dao.DefaultMavenProjectDao.<init>(DefaultMavenProjectDao.java:74)
      2. org.jfrog.maven.viewer.dao.DaoFactoryImpl.<init>(DaoFactoryImpl.java:29)
      2 frames
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      4 frames
    5. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:171)
      2. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
      3. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:52)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:486)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:362)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
      8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:186)
      9. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1046)
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
      13. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
      14. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
      15. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
      15 frames
    6. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
      1 frame
    7. org.springframework.richclient
      ApplicationLauncher.<init>
      1. org.springframework.richclient.application.ApplicationLauncher.loadRootApplicationContext(ApplicationLauncher.java:150)
      2. org.springframework.richclient.application.ApplicationLauncher.<init>(ApplicationLauncher.java:102)
      2 frames
    8. org.jfrog.maven
      Main.main
      1. org.jfrog.maven.viewer.Main.<init>(Main.java:40)
      2. org.jfrog.maven.viewer.Main.main(Main.java:30)
      2 frames