[ 
https://issues.apache.org/jira/browse/SLING-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053513#comment-14053513
 ] 

Robert Munteanu commented on SLING-3739:
----------------------------------------

Bingo! When the build works, the ClassLoader is 
{noformat}org.eclipse.core.runtime.internal.adaptor.ContextFinder@5cbe48ab{noformat}
 , but when it does not, the ClassLoader is 
{noformat}ClassRealm[project>com.example:test002.components:0.0.1-SNAPSHOT, 
parent: ClassRealm[maven.api, parent: null]]{noformat} .

> No repository found at ... : ClassNotFoundException 
> org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-3739
>                 URL: https://issues.apache.org/jira/browse/SLING-3739
>             Project: Sling
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: Sling Eclipse IDE 1.0.0
>            Reporter: Robert Munteanu
>            Priority: Critical
>             Fix For: Sling Eclipse IDE 1.0.2
>
>
> This seems to be a rehash of SLING-3647. When starting up a server on a 
> freshly launched Eclipse instance I sometimes get this error
> {code}java.lang.IllegalArgumentException: No repository found at 
> http://localhost:4504/
> http://localhost:4504/server/-/jcr:root : java.lang.ClassNotFoundException: 
> org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory
> http://localhost:4504/crx/-/jcr:root : java.lang.ClassNotFoundException: 
> org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory
>       at 
> org.apache.sling.ide.jcr.RepositoryUtils.getRepositoryAddress(RepositoryUtils.java:94)
>       at 
> org.apache.sling.ide.jcr.RepositoryUtils.getRepository(RepositoryUtils.java:44)
>       at 
> org.apache.sling.ide.impl.vlt.VltRepository.connect(VltRepository.java:65)
>       at 
> org.apache.sling.ide.impl.vlt.VltRepositoryFactory.connectRepository(VltRepositoryFactory.java:69)
>       at 
> org.apache.sling.ide.eclipse.core.ServerUtil.connectRepository(ServerUtil.java:154)
>       at 
> org.apache.sling.ide.eclipse.core.internal.SlingLaunchpadBehaviour.start(SlingLaunchpadBehaviour.java:88)
>       at 
> org.apache.sling.ide.eclipse.core.internal.SlingLaunchpadLaunchConfigurationDelegate.launch(SlingLaunchpadLaunchConfigurationDelegate.java:45)
>       at 
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
>       at 
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
>       at 
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:700)
>       at 
> org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3541)
>       at 
> org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3477)
>       at 
> org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)
>       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53){code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to