0
基於XSP Starter Kit主題上出色的Tim Tripcony視頻http://notesin9.com/index.php/2012/04/04/notesin9-064-global-custom-controls-fixed/。我根據視頻創建了所有內容,在Designer R9中,控件可用並且沒有錯誤。現在,當使用updateSite數據庫部署到Domino服務器(R9)時,部署成功了,我可以在OSGi插件列表中看到它,但是當我打開數據庫中的任何xpage時,啓用此入門套件庫的位置,任何xpage都會因錯誤500並在日誌中,我可以看到以下錯誤:基於XSP Starter Kit的項目不能在Domino服務器上運行
<extendedDataElements name="CommonBaseEventLogRecord:sourceClassName" type="string">
<values>com.ibm.domino.xsp.bridge.http.engine.XspCmdManager</values>
</extendedDataElements>
<extendedDataElements name="CommonBaseEventLogRecord:sourceMethodName" type="string">
<values>service</values>
</extendedDataElements>
<extendedDataElements name="CommonBaseEventLogRecord:Exception" type="string">
<values>java.lang.RuntimeException: com.ibm.xsp.FacesExceptionEx: java.lang.NoClassDefFoundError: com.ibm.xsp.domino.context.DominoFacesContext
	at com.ibm.designer.runtime.domino.adapter.ComponentModule.initModule(ComponentModule.java:461)
	at com.ibm.domino.xsp.module.nsf.NSFComponentModule.initModule(NSFComponentModule.java:498)
	at com.ibm.domino.xsp.module.nsf.NSFService.createNSFModule(NSFService.java:752)
	at com.ibm.domino.xsp.module.nsf.NSFService.loadModule(NSFService.java:735)
	at com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:588)
	at com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:482)
	at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:350)
	at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:306)
	at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManage</values>
<values>r.java:272)
Caused by: com.ibm.xsp.FacesExceptionEx: java.lang.NoClassDefFoundError: com.ibm.xsp.domino.context.DominoFacesContext
	at com.ibm.xsp.config.CLBootStrap.initContext(CLBootStrap.java:89)
	at com.ibm.xsp.config.BootStrap.init(BootStrap.java:82)
	at com.ibm.xsp.config.ConfigureCoreListener.contextInitialized(ConfigureCoreListener.java:39)
	at com.ibm.designer.runtime.domino.adapter.ComponentModule.initModule(ComponentModule.java:453)
	... 8 more
Caused by: java.lang.NoClassDefFoundError: com.ibm.xsp.domino.context.DominoFacesContext
	at java.lang.ClassLoader.defineClassImpl(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:287)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:165)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:557)
	at org.eclip</values>
<values>se.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:527)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:458)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:446)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:426)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:370)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:446)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:387)
	at org.eclipse.osgi.int</values>
<values>ernal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:638)
	at java.lang.J9VMInternals.verifyImpl(Native Method)
	at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
	at java.lang.J9VMInternals.prepare(J9VMInternals.java:433)
	at java.lang.Class.getConstructor(Class.java:351)
	at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:589)
	at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:483)
	at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:276)
	at com.sun.faces.config.ConfigureListener.verifyFactories(ConfigureListener.java:1045)
	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:422)
	at com.ibm.xsp.config.CLBootStrap.initContext(CLBootStrap.java:81)
	... 11 more
Caused by: java.lang.</values>
<values>ClassNotFoundException: com.ibm.xsp.domino.context.DominoFacesContext
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:483)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)
	at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:387)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:638)
	... 36 more
</values>
</extendedDataElements>
<sourceComponentId component="Expeditor 6.2" componentIdType="ProductName" instanceId="" location="dmhp" locationType="Hostname" subComponent="" threadId="1" componentType="http://www.w3.org/2001/XMLSchema-instance"/>
<situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
我試圖用相同的結果多次構建一切。任何想法我在這裏失蹤?
你的課程的來源可能會有所幫助。看起來像一個類加載器/類路徑/權限錯誤 – stwissel
你是什麼意思?回溯說它不能加載一些基本的XSP核心類。但其XSP入門套件項目沒有任何改變。我還授予了java.policy中的所有權限。 –