NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

After installing NetBeans IDE 7.1.1 get error: package does not exist

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
PabloCruise77



Joined: 26 Apr 2012
Posts: 2

PostPosted: Thu Apr 26, 2012 9:53 pm    Post subject: After installing NetBeans IDE 7.1.1 get error: package does not exist Reply with quote

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

PostPosted: Thu Apr 26, 2012 11:46 pm    Post subject: Solved Reply with quote

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. Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo