Skip to content
This repository was archived by the owner on Nov 21, 2020. It is now read-only.

Sorry, I have difficulties to setup up development environment in Eclipse. #102

@ShiqiAi

Description

@ShiqiAi

I am pretty new to Eclipse Environment.
I followed the instruction
Build using Maven from project root:

(in "eclipse-instasearch" folder)
mvn install

Use File -> Import -> Existing Projects to import all instasearch projects ("eclipse-instasearch" folder)
To run or debug right click on 'instasearch' project and select Run As -> Eclipse Application

in "MANIFEST.MF" it complains "Bundle 'org.apache.lucene' cannot be resolved"

Run As Eclipse Application will show this exception in the Console :

org.osgi.framework.BundleException: Could not resolve module: it.unibz.instasearch [19]
  Unresolved requirement: Require-Bundle: org.apache.lucene; bundle-version="[2.9.1,2.9.2]"

	at org.eclipse.osgi.container.Module.start(Module.java:462)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1844)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1837)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1778)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1742)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1664)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.storage.file.FileSnapshot).
log4j:WARN Please initialize the log4j system properly.

I also tried "Open Project From FileSystem" to open the root folder, in this way there is no option "Run As Eclipse Application" in the context menu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions