我一直在遇到这样的错误:
annotations are not sopported -in source 1.4
然后查看了我的jdk版本,我看到了1.4。为了增加 jdk 兼容性版本,我不得不将 java se 版本从 CVM_JDK 更改为 1.6.0_24(默认)。
尽管注释错误消失了,但出现了两个错误,如下所示:
Error(3,32): package oracle.adfmf.application does not exist
Error(43,47): cannot find symbol
说这条线;
public class LifeCycleListenerImpl implements LifeCycleListener
{
public LifeCycleListenerImpl()
{
}
/**
* The start method will be called at the start of the application.
*
...
和,
import oracle.adfmf.application.LifeCycleListener;
我将如何为两者做正确的事情?哪个jdk版本提供了这个?