最近在搞JavaCC,也一直跟着Eclipse 3.6的测试版不断更新Eclipse.遇到如下问题: 现象: JavaCC Eclipse Plugin中的JavaCC Console中显示: >java -classpath D:/software/Develop/IDE/eclipse3.6RC1/plugins/sf.eclipse.javacc_1.5.22/javacc.jar javacc PlSql.jj Error: Could not find main class javac
先看要解析的样例SQL语句: 复制代码 代码如下: select * from dual SELECT * frOm dual Select C1,c2 From tb select c1,c2 from tb select count(*) from t1 select c1,c2,c3 from t1 where condi1=1 Select c1,c2,c3 From t1 Where condi1=1 select c1,c2,c3 from t1,t2 where condi3=3