掲示板
Error when running service.builder.api
7年前 に Revathi Vadlamudi によって更新されました。
Error when running service.builder.api
Junior Member 投稿: 82 参加年月日: 14/11/14 最新の投稿
Didn't get why serivce is not running? Any clues?
serivce-builder-serivce build.gradle
serivce-builder-serivce build.gradle
dependencies {
compileOnly group: "biz.aQute.bnd", name: "biz.aQute.bndlib", version: "3.1.0"
compileOnly group: "com.liferay", name: "com.liferay.osgi.util", version: "3.0.0"
compileOnly group: "com.liferay", name: "com.liferay.portal.spring.extender", version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.6.0"
compileOnly group: "javax.servlet", name: "javax.servlet-api", version: "3.0.1"
compileOnly group: 'javax.portlet', name: 'portlet-api', version: '2.0'
compileOnly group: "commons-httpclient", name: "commons-httpclient", version: "3.1"
compileOnly group: 'org.json', name: 'org.json', version: '2.0'
compileOnly group: 'org.apache.clerezza.ext', name: 'org.json.simple', version: '0.4'
compileOnly group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
compileOnly group: 'com.liferay.portal', name: 'com.liferay.portal.impl', version: '2.11.0'
compileOnly group: "com.liferay", name: "com.liferay.portal.dao.orm.custom.sql", version: "1.0.6"
compileOnly project(":modules:mm-service-builder:mm-service-builder-api")
}
buildService {
apiDir = "../mm-service-builder-api/src/main/java"
}
group = "mm.service.builder"
09:50:48,935 INFO [fileinstall-D:/Liferay_7_Tomcat/osgi/modules][BundleStartStopLogger:38] STOPPED mm.service.builder.api_1.0.0 [646]
09:50:48,957 WARN [fileinstall-D:/Liferay_7_Tomcat/osgi/modules][org_apache_felix_fileinstall:103] Error while starting bundle: file:/D:/Liferay_7_Tomcat/osgi/modules/mm.service.builder.service.jar
org.osgi.framework.BundleException: Could not resolve module: mm.service.builder.service [648]_ Unresolved requirement: Import-Package: com.liferay.portal.util; version="[1.9.0,2.0.0)"_ [Sanitized]
at org.eclipse.osgi.container.Module.start(Module.java:429)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1252)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1224)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:313)
7年前 に David H Nebinger によって更新されました。
RE: Error when running service.builder.api
Liferay Legend 投稿: 14914 参加年月日: 06/09/02 最新の投稿
You still have things in the includes that you shouldn't have, likely leading to a bleed in any transitive dependencies they have...
I doubt that you need com.liferay.osgi.util.
Also, just like in previous versions, you should never include com.liferay.portal.impl.
I doubt that you need com.liferay.osgi.util.
Also, just like in previous versions, you should never include com.liferay.portal.impl.
7年前 に Revathi Vadlamudi によって更新されました。
RE: Error when running service.builder.api (回答)
Junior Member 投稿: 82 参加年月日: 14/11/14 最新の投稿
Solved by clearing imports java/jsp files.