public class Search extends Activity
 {
 Button btn;
 TextView text;
     public void onCreate(Bundle savedInstanceState)
     {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.search);
         btn = (Button)findViewById(R.id.button1);
         text = (TextView)findViewById(R.id.textView1);
         btn.setOnClickListener(new View.OnClickListener() {
          public void onClick(View v) {
           try{
               Class.forName ("com.mysql.jdbc.Driver");
               text.setText("성공");
              } catch(ClassNotFoundException e){
               text.setText("실패");
               e.printStackTrace();
              } finally {
              
              }           
          }
         });
     }
 }

 

여기서 Class.forName ("com.mysql.jdbc.Driver");

아무리 mysql-connector-java-5.1.22-bin.jar 이것을 이리저리 여러 폴더에 넣고 멀해봐도  실패만 뜨더군요..

 

로그캣에는 계속

10-08 16:49:40.120: W/System.err(685): java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

 

아 돌겠습니다.ㅠㅠ 이경우 어떻게 해야할까요..

 

꼭 체크해봐야될거나 필요한 정보있으시면 댓글로 알려주세요 ㅠㅠ 정말 돌겠습니다.