Skip to content
This repository has been 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

Open
ShiqiAi opened this issue Jun 13, 2020 · 0 comments
Open

Comments

@ShiqiAi
Copy link

ShiqiAi commented Jun 13, 2020

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.

@ShiqiAi ShiqiAi changed the title Sorry, I have difficulties to setup up development in Eclipse. Sorry, I have difficulties to setup up development environment in Eclipse. Jun 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant