简体   繁体   中英

I Added a jar into my Eclipse project, but still it doesn't import

package esta.fontend;

import java.awt.*;
import java.sql.*;
import javax.swing.*;
import esta.dbConnection.ConnectionDB;

import net.proteanit.sql.DbUtils;// This is where i find the problem;

Image Link explaining my problem

rs2xml.jar doesn't contain the needed java class. The most probably reason is that it was built incorrectly.

As you may see it contains 'src.net.proteanit.sql' which is empty.

So to fix the problem the jar should be rebuilt

  1. The package should not include 'src' prefix
  2. The DbUtils class should be truly included into it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM