
基于eclipse rcp平台的项目,导出产品时出错 30
错误问题:#12-3-18下午06时07分49秒1.ERRORinG:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrb...
错误问题:# 12-3-18 下午06时07分49秒
1. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchAdvisor.java (at line 13)
return new ApplicationWorkbenchWindowAdvisor(configurer);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ApplicationWorkbenchWindowAdvisor cannot be resolved to a type
----------
----------
2. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 15)
private SysTray sysTray;
public ApplicationWorkbenchWindowAdvisor(
IWorkbenchWindowConfigurer configurer) {
super(configurer);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, AnnotationName expected instead
----------
3. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 18)
super(configurer);
}
public ActionBarAdvisor createActionBarAdvisor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
4. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 21)
public ActionBarAdvisor createActionBarAdvisor(
IActionBarConfigurer configurer) {
return new ApplicationActionBarAdvisor(configurer);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
5. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 22)
IActionBarConfigurer configurer) {
^^^^^^^^^^^^^^^^^^^^
Syntax error on token(s), misplaced construct(s)
----------
6. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 23)
return new ApplicationActionBarAdvisor(configurer);
^
Syntax error on token ")", { expected after this token
----------
7. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 24)
}
^
Syntax error on token "}", delete this token
----------
还有呢
我知道问题所在了,是中文注释引起的问题! 展开
1. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchAdvisor.java (at line 13)
return new ApplicationWorkbenchWindowAdvisor(configurer);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ApplicationWorkbenchWindowAdvisor cannot be resolved to a type
----------
----------
2. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 15)
private SysTray sysTray;
public ApplicationWorkbenchWindowAdvisor(
IWorkbenchWindowConfigurer configurer) {
super(configurer);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, AnnotationName expected instead
----------
3. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 18)
super(configurer);
}
public ActionBarAdvisor createActionBarAdvisor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
4. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 21)
public ActionBarAdvisor createActionBarAdvisor(
IActionBarConfigurer configurer) {
return new ApplicationActionBarAdvisor(configurer);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
5. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 22)
IActionBarConfigurer configurer) {
^^^^^^^^^^^^^^^^^^^^
Syntax error on token(s), misplaced construct(s)
----------
6. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 23)
return new ApplicationActionBarAdvisor(configurer);
^
Syntax error on token ")", { expected after this token
----------
7. ERROR in G:\毕业设计\code\cn.edu.hrbeu.MisPlatform\src\cn\edu\hrbeu\misplatform\action\ApplicationWorkbenchWindowAdvisor.java (at line 24)
}
^
Syntax error on token "}", delete this token
----------
还有呢
我知道问题所在了,是中文注释引起的问题! 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询