2014-10-17 69 views
1

即時通訊使用e(fx)clipse並按照此處列出的步驟操作http://code.makery.ch/java/javafx-8-tutorial-part7/ 當您單擊「生成ant build.xml」時,沒有任何反應....任何人都可以在此幫忙嗎?如果沒有人有一個線索,有人可以幫助我手動完成這件事爲什麼不會eclipse生成build.xml

這是對build.fxbuild build.fxbuild used by e(fx)clipse

的設置,我使用的Eclipse 4.4

!SESSION 2014-10-18 18:46:48.482 ----------------------------------------------- 
eclipse.buildId=4.4.0.I20140606-1215 
java.version=1.8.0_20 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_NZ 
Command-line arguments: -os win32 -ws win32 -arch x86_64 

!ENTRY org.eclipse.fx.ide.java6 4 0 2014-10-18 18:46:49.497 
!MESSAGE FrameworkEvent ERROR 
!STACK 0 
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.fx.ide.java6 [221] 
    Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version>=1.3)(!(version>=1.8)))" 

at org.eclipse.osgi.container.Module.start(Module.java:434) 
at  org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582) 
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561) 
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533) 
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476) 
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) 
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) 
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) 

!ENTRY org.eclipse.e4.ui.workbench 1 0 2014-10-18 18:46:54.133 
!MESSAGE Nothing to merge for "platform:/plugin/org.eclipse.e4.tools.emf.ui/fragment.e4xmi" 

!ENTRY org.eclipse.e4.ui.workbench 1 0 2014-10-18 18:46:54.137 
!MESSAGE Nothing to merge for "platform:/plugin/org.eclipse.e4.tools.emf.ui/fragment.e4xmi" 

日誌彈出當我點擊生成時出現這個錯誤

我想我應該注意到我也試圖用netbeans創建一個exe文件,但是運行時它會給我一個「man class中的錯誤」,但是當我運行時沒有任何問題它通過IDE ...

+0

「Application class」中的值看起來不正確,或者您沒有遵循Java約定,其中類以大寫字母開頭。 您還可以檢查Eclipse的錯誤日誌,看看是否出現問題 – tomsontom 2014-10-17 12:18:23

+0

我想我也有一個論壇帖子與你同行XD我們是否應該繼續在論壇上編輯這些更多細節和解決方案? – 2014-10-17 21:14:57

回答

0

問題是,build.fxbuild文件已損壞。 我不知道它是如何發生的,但足以說最簡單的修復方法是從創建一個新項目或從一個工程中複製一個新的build.fxbuild文件(假定它實際上只是一個XML文件)

相關問題