留言板
Liferay7-runtime dependencies
Hi All,
I have developed One portlet in Liferay7. when this portlet is loaded on a page its giving below issue
Caused by: java.lang.ClassNotFoundException: com.liferay.taglib.theme.DefineObjectsTei
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspBundleClassloader.findClass(JspBundleClassloader.java:98)
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspBundleClassloader.loadClass(JspBundleClassloader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:554)
at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:374)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:254)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:502)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:582)
and
build.gradle
---------------------------
dependencies {
compile group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compile group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compile group: "javax.portlet", name: "portlet-api", version: "2.0"
compile group: "javax.servlet", name: "servlet-api", version: "2.5"
compile group: "jstl", name: "jstl", version: "1.2"
compile group: "org.osgi", name: "org.osgi.compendium", version: "5.0.0"
compile group: "com.liferay.portal", name:"com.liferay.util.bridges", version:"2.0.0"
compile group: "org.osgi", name:"org.osgi.service.component.annotations", version:"1.3.0"
}
am able to compile and deploy into server ,and this issue is being raised in runtime.
Thanks & regards,
Mahesh.
I have developed One portlet in Liferay7. when this portlet is loaded on a page its giving below issue
Caused by: java.lang.ClassNotFoundException: com.liferay.taglib.theme.DefineObjectsTei
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspBundleClassloader.findClass(JspBundleClassloader.java:98)
at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspBundleClassloader.loadClass(JspBundleClassloader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:554)
at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:374)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:254)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:502)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:582)
and
build.gradle
---------------------------
dependencies {
compile group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.0.0"
compile group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compile group: "javax.portlet", name: "portlet-api", version: "2.0"
compile group: "javax.servlet", name: "servlet-api", version: "2.5"
compile group: "jstl", name: "jstl", version: "1.2"
compile group: "org.osgi", name: "org.osgi.compendium", version: "5.0.0"
compile group: "com.liferay.portal", name:"com.liferay.util.bridges", version:"2.0.0"
compile group: "org.osgi", name:"org.osgi.service.component.annotations", version:"1.3.0"
}
am able to compile and deploy into server ,and this issue is being raised in runtime.
Thanks & regards,
Mahesh.
hey mahesh , could you share your sample source code to this thread, so we can reproduce it. Thanks.