java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location u sing the setLocalRepositoryDirectory( File ) method.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Dror Bereznitsky, 1 year ago
When not aligning with a user install you must specify a local repository location u sing the setLocalRepositoryDirectory( File ) method.
via JFrog JIRA by Dror Bereznitsky, 1 year ago
When not aligning with a user install you must specify a local repository location u sing the setLocalRepositoryDirectory( File ) method.
via atlassian.com by Unknown author, 1 year ago
When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.
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.(DefaultMavenProjectDao.java:74)
at org.jfrog.maven.viewer.dao.DaoFactoryImpl.(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 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.richclient.application.ApplicationLauncher.loadRootApplicationContext(ApplicationLauncher.java:150)
at org.springframework.richclient.application.ApplicationLauncher.(ApplicationLauncher.java:102)
at org.jfrog.maven.viewer.Main.(Main.java:40)
at org.jfrog.maven.viewer.Main.main(Main.java:30)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.