我試圖開發使用JSF和Primefaces一個portlet,當我在日食開普勒創建我的項目,我有portlet.xml的一個問題:Liferay的Portlet開發常春藤
Could not resolve Portlet class "javax.portlet.faces.GenericFacesPortlet"
,當我嘗試常春藤決心,我有以下錯誤:
java.lang.NoClassDefFoundError: org/bouncycastle/openpgp/PGPException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404) at java.lang.Class.getConstructor0(Class.java:2714) at java.lang.Class.newInstance0(Class.java:343) at java.lang.Class.newInstance(Class.java:325) at org.apache.ivy.util.Configurator.addChild(Configurator.java:586) at org.apache.ivy.util.Configurator.startCreateChild(Configurator.java:503) at org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:579) at org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:201) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:274) at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:160) at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:150) at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:391) at org.apache.ivy.Ivy.configure(Ivy.java:416) at org.apache.ivyde.internal.eclipse.CachedIvy.getIvyFromFile(CachedIvy.java:203) at org.apache.ivyde.internal.eclipse.CachedIvy.doGetIvy(CachedIvy.java:163) at org.apache.ivyde.internal.eclipse.CachedIvy.getIvy(CachedIvy.java:124) at org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.doRun(IvyResolveJob.java:145) at org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.run(IvyResolveJob.java:85) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: java.lang.ClassNotFoundException: org.bouncycastle.openpgp.PGPException cannot be found by org.apache.ivy_2.3.0.final_20130110142753 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 31 more
任何一個可以請告訴我如何解決這個問題。