NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
PabloCruise77
Joined: 26 Apr 2012 Posts: 2
|
Posted: Thu Apr 26, 2012 9:53 pm Post subject: After installing NetBeans IDE 7.1.1 get error: package does not exist |
|
|
After Windows 7 was installed on laptop, I reinstalled NetBeans IDE 7.1.1. Re-copied in saved project. Try to build it but it seems like it can't find libraries:
warning: [options] bootstrap class path not set in conjunction with -source 1.5
C:\Users\V890607\Documents\NetBeansProjects\COPA_Survey\src\copa_survey\ConfigFile.java:18: error: package org.apache.log4j does not exist
import org.apache.log4j.Level;
C:\Users\V890607\Documents\NetBeansProjects\COPA_Survey\src\copa_survey\RemedyQuery.java:16: error: package com.bmc.arsys.api does not exist
import com.bmc.arsys.api.Constants;
This is a Java program that uses Remedy jars to access a Remedy database. I've placed the Remedy and other libraries in a library directory and stated the library in the CLASSPATH. I've also added it to the Compile-time Libraries via Add JAR/Folder.
This built fine before. Not a NetBeans expert so I'm thinking that I'm missing some simple setting. |
|
| Back to top |
|
 |
PabloCruise77
Joined: 26 Apr 2012 Posts: 2
|
Posted: Thu Apr 26, 2012 11:46 pm Post subject: Solved |
|
|
Co-worker showed me that I had to do the Add JAR/Folder for each jar file I used and not just add the directory that contained them. That solved it.  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|