magic_jie1
2008-07-31 17:26
浏览 233
已采纳

ANT编译报错问题?

我的jar包都加上去了,可就是报错。。。?

prepare:
compile:
[javac] Compiling 56 source files to D:\workspace\spp_alm_sys\build\WEB-INF\classes
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\AbstractDBCP.java:13: package org.apache.log4j does not exist
[javac] protected static org.apache.log4j.Logger logger = org.apache.log4j.Logger
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBAlm_sys.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBAlm_sys.java:4: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBHkbn1.java:2: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBHkbn1.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBInc.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBInc.java:4: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSms_msg.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSms_msg.java:4: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSso.java:2: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSso.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPAlm_sys.java:2: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPAlm_sys.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPHkbn1.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPHkbn1.java:4: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPInc.java:2: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPInc.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPSso.java:3: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPSso.java:4: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\alm_log\AlmLogControl.java:4: package net.hkbn.prov does not exist
[javac] import net.hkbn.prov.*;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\alm_log\AlmLogControl.java:5: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\alm_log\AlmLogControl.java:6: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:2: package com.wutka.jox does not exist
[javac] import com.wutka.jox.*;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\CalculateAffectCustomer.java:22: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\CalculateAffectCustomer.java:23: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSGroupUserHelper.java:11: package org.apache.log4j does not exist
[javac] import org.apache.log4j.Logger;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSGroupUserHelper.java:24: cannot resolve symbol
[javac] symbol : class Logger
[javac] location: class sms.SMSGroupUserHelper
[javac] Logger logger = Logger.getLogger(SMSGroupUserHelper.class);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:15: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:16: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:18: package org.apache.log4j does not exist
[javac] import org.apache.log4j.Logger;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:43: cannot resolve symbol
[javac] symbol : class Logger
[javac] location: class sms.SMSSender
[javac] private Logger logger = Logger.getLogger("SMSSender_tomcat");
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:6: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnection;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:7: package net.hkbn.prov.sql does not exist
[javac] import net.hkbn.prov.sql.SqlConnectionFactory;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:5: package jxl does not exist
[javac] import jxl.*;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:6: package jxl.write does not exist
[javac] import jxl.write.*;
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\AbstractDBCP.java:13: package org.apache.log4j does not exist
[javac] protected static org.apache.log4j.Logger logger = org.apache.log4j.Logger
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\AbstractDBCP.java:19: package org.apache.log4j does not exist
[javac] org.apache.log4j.PropertyConfigurator
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBAlm_sys.java:22: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.CMDDBAlm_sys
[javac] SqlConnection.JDBC).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBAlm_sys.java:21: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.CMDDBAlm_sys
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("alm_sys",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBHkbn1.java:16: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.CMDDBHkbn1
[javac] SqlConnection.JDBC).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBHkbn1.java:15: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.CMDDBHkbn1
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("hkbn",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBInc.java:18: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.CMDDBInc
[javac] SqlConnection.JDBC).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBInc.java:17: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.CMDDBInc
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("inc",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSms_msg.java:19: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.CMDDBSms_msg
[javac] SqlConnection.JDBC).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSms_msg.java:18: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.CMDDBSms_msg
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("sms_msg",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSso.java:16: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.CMDDBSso
[javac] SqlConnection.JDBC).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSso.java:15: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.CMDDBSso
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("sso",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPAlm_sys.java:17: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.DBCPAlm_sys
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("alm_sys",SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPAlm_sys.java:17: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.DBCPAlm_sys
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("alm_sys",SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPHkbn1.java:18: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.DBCPHkbn1
[javac] SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPHkbn1.java:17: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.DBCPHkbn1
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("hkbn",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPInc.java:15: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.DBCPInc
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("inc",SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPInc.java:15: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.DBCPInc
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("inc",SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPSso.java:18: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class ConnectionFactory.Production.DBCPSso
[javac] SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPSso.java:17: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class ConnectionFactory.Production.DBCPSso
[javac] paytvCon = SqlConnectionFactory.getSqlConnection("sso",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\alm_log\AlmLogControl.java:30: cannot resolve symbol
[javac] symbol : method Close ()
[javac] location: class staff.DBconnection
[javac] myCon.Close();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\connect\est.java:31: package oracle.jdbc.driver does not exist
[javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:17: cannot resolve symbol
[javac] symbol : class JOXBeanInputStream
[javac] location: class maint_result_code.MyJOXController
[javac] JOXBeanInputStream joxIn = new JOXBeanInputStream(in);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:17: cannot resolve symbol
[javac] symbol : class JOXBeanInputStream
[javac] location: class maint_result_code.MyJOXController
[javac] JOXBeanInputStream joxIn = new JOXBeanInputStream(in);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:31: cannot resolve symbol
[javac] symbol : class JOXBeanOutputStream
[javac] location: class maint_result_code.MyJOXController
[javac] JOXBeanOutputStream joxOut = new JOXBeanOutputStream(out);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:31: cannot resolve symbol
[javac] symbol : class JOXBeanOutputStream
[javac] location: class maint_result_code.MyJOXController
[javac] JOXBeanOutputStream joxOut = new JOXBeanOutputStream(out);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\listBuildJS.java:33: package oracle.jdbc.driver does not exist
[javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\listBuildJSBox.java:33: package oracle.jdbc.driver does not exist
[javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\searchBSJS.java:71: package oracle.jdbc.driver does not exist
[javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\searchCorpBuildingJS.java:31: package oracle.jdbc.driver does not exist
[javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\searchCorpBuildingJSBox.java:32: package oracle.jdbc.driver does not exist
[javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\searchEstateJS.java:34: package oracle.jdbc.driver does not exist
[javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\servlet\searchEstateJSBox.java:34: package oracle.jdbc.driver does not exist
[javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSGroupUserHelper.java:24: cannot resolve symbol
[javac] symbol : variable Logger
[javac] location: class sms.SMSGroupUserHelper
[javac] Logger logger = Logger.getLogger(SMSGroupUserHelper.class);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:43: cannot resolve symbol
[javac] symbol : variable Logger
[javac] location: class sms.SMSSender
[javac] private Logger logger = Logger.getLogger("SMSSender_tomcat");
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:269: cannot resolve symbol
[javac] symbol : class SqlConnection
[javac] location: class sms.SMSSender
[javac] SqlConnection abCon=SqlConnectionFactory.getSqlConnection("sms_msg",SqlConnection.JDBC);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:269: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class sms.SMSSender
[javac] SqlConnection abCon=SqlConnectionFactory.getSqlConnection("sms_msg",SqlConnection.JDBC);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:269: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class sms.SMSSender
[javac] SqlConnection abCon=SqlConnectionFactory.getSqlConnection("sms_msg",SqlConnection.JDBC);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:549: cannot resolve symbol
[javac] symbol : variable Logger
[javac] location: class sms.SMSSender
[javac] smsSender.logger = Logger.getLogger("SMSSender_cronjob");
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:31: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class staff.DBconnection
[javac] SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:30: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class staff.DBconnection
[javac] con = SqlConnectionFactory.getSqlConnection("alm_sys",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:65: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class staff.DBconnection
[javac] SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:64: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class staff.DBconnection
[javac] sms = SqlConnectionFactory.getSqlConnection("sms_msg",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:98: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class staff.DBconnection
[javac] SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:97: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class staff.DBconnection
[javac] ora = SqlConnectionFactory.getSqlConnection("hkbn",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:131: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class staff.DBconnection
[javac] SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:130: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class staff.DBconnection
[javac] sso = SqlConnectionFactory.getSqlConnection("sso",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:164: cannot resolve symbol
[javac] symbol : variable SqlConnection
[javac] location: class staff.DBconnection
[javac] SqlConnection.JNDI).getConnection();
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:163: cannot resolve symbol
[javac] symbol : variable SqlConnectionFactory
[javac] location: class staff.DBconnection
[javac] inc = SqlConnectionFactory.getSqlConnection("inc",
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:35: cannot resolve symbol
[javac] symbol : class WritableWorkbook
[javac] location: class view.CreateAlmExcel
[javac] WritableWorkbook book= Workbook.createWorkbook(new File(fp));
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:35: cannot resolve symbol
[javac] symbol : variable Workbook
[javac] location: class view.CreateAlmExcel
[javac] WritableWorkbook book= Workbook.createWorkbook(new File(fp));
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:36: cannot resolve symbol
[javac] symbol : class WritableSheet
[javac] location: class view.CreateAlmExcel
[javac] WritableSheet sheet=book.createSheet("sheep1",0);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:37: cannot resolve symbol
[javac] symbol : class WritableFont
[javac] location: class view.CreateAlmExcel
[javac] WritableFont wf = new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD,false);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:37: cannot resolve symbol
[javac] symbol : class WritableFont
[javac] location: class view.CreateAlmExcel
[javac] WritableFont wf = new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD,false);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:37: cannot resolve symbol
[javac] symbol : variable WritableFont
[javac] location: class view.CreateAlmExcel
[javac] WritableFont wf = new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD,false);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:37: cannot resolve symbol
[javac] symbol : variable WritableFont
[javac] location: class view.CreateAlmExcel
[javac] WritableFont wf = new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD,false);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:38: cannot resolve symbol
[javac] symbol : class WritableCellFormat
[javac] location: class view.CreateAlmExcel
[javac] WritableCellFormat wcfblue = new WritableCellFormat(wf);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:38: cannot resolve symbol
[javac] symbol : class WritableCellFormat
[javac] location: class view.CreateAlmExcel
[javac] WritableCellFormat wcfblue = new WritableCellFormat(wf);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:39: cannot resolve symbol
[javac] symbol : variable Colour
[javac] location: class view.CreateAlmExcel
[javac] wcfblue.setBackground(Colour.ICE_BLUE);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:40: cannot resolve symbol
[javac] symbol : class WritableCellFormat
[javac] location: class view.CreateAlmExcel
[javac] WritableCellFormat wcfred = new WritableCellFormat(wf);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:40: cannot resolve symbol
[javac] symbol : class WritableCellFormat
[javac] location: class view.CreateAlmExcel
[javac] WritableCellFormat wcfred = new WritableCellFormat(wf);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:41: cannot resolve symbol
[javac] symbol : variable Colour
[javac] location: class view.CreateAlmExcel
[javac] wcfred.setBackground(Colour.CORAL);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:42: cannot resolve symbol
[javac] symbol : class WritableCellFormat
[javac] location: class view.CreateAlmExcel
[javac] WritableCellFormat wcfyellow = new WritableCellFormat(wf);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:42: cannot resolve symbol
[javac] symbol : class WritableCellFormat
[javac] location: class view.CreateAlmExcel
[javac] WritableCellFormat wcfyellow = new WritableCellFormat(wf);
[javac] ^
[javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:43: cannot resolve symbol
[javac] symbol : variable Colour
[javac] location: class view.CreateAlmExcel
[javac] wcfyellow.setBackground(Colour.GREY_50_PERCENT);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 100 errors

BUILD FAILED
D:\workspace\spp_alm_sys\build.xml:105: Compile failed; see the compiler error output for details.

[b]问题补充:[/b]
我把path加进去了,但问题依然存在
<!-- ==================== Compilation Classpath =========================== -->

<!-- Include all elements that Tomcat exposes to applications -->












    <fileset dir="${web.home}/WEB-INF/lib">
        <include name="**/*.jar" />
    </fileset>

    <fileset dir="${script.home}/lib">
        <include name="**/*.jar" />
    </fileset>
    <pathelement location="${script.home}/lib"/>
</path>
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • congjl2002 2008-08-01 08:48
    已采纳

    没有指定你编译所需要的jar文件路径
    要在javac里加上classpathref这个属性,把你编译时需要的包导入,比如这样
    [code="xml"]






    [/code]

    点赞 打赏 评论
  • chenli348105874 2008-07-31 17:52

    肯定是你 的classpath配置错了

    点赞 打赏 评论

相关推荐 更多相似问题