如何解决包错误 [英] How to Solve Package Error
本文介绍了如何解决包错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用一些外部软件包在netbeans中导入了项目但是我无法解决包connectionManager.java和amp;中的两个问题。 log.java。当我打开文件ConnectionManager.java
.................................
I imported the project in the netbeans with some external packages but I am not able to solve two problem in package connectionManager.java & log.java. when I Open the file ConnectionManager.java
.................................
DBPool pool = DBPool.getPool(dbAlias);
Error:method getPool in class com.caucho.sql.DBPool cannot be applied to given types; required: no arguments found: java.lang.String
reason: actual and formal argument lists differ in length
.......... ........................
类似我打开log.java
..................................
similarly when I open the log.java
PropertyConfigurator.resetConfiguration();
Error:cannot find symbol symbol: method resetConfiguration()
location: class org.apache.log4j.PropertyConfigurator
推荐答案
看起来你有答案这里 [ ^ ]。
Looks like you got the answer here[^].
这篇关于如何解决包错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文