NetBeans Forums

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

NB problems using Box4j

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



Joined: 12 Jan 2010
Posts: 8

PostPosted: Thu Apr 05, 2012 5:47 am    Post subject: NB problems using Box4j Reply with quote

Hello

I'm new to this one and

I'm trying to do some Box.net integration, but seems to run into problems - and I got a hunch
that it is NB related.

I've just installed the latest NB.

I've downloaded Jimmy Jia's Box.Net openAPI jar-archive and I've added it via the Libraries wizard (with the
library name "Box4j").

Now it's my understanding that it should be added to the classpath and be ready for use.

But when trying to import it and use it, I get :


Quote:
init:
deps-clean:
Updating property file: /home/flywheel/Netbeans/jBoxCLI/build/built-clean.properties
Deleting directory /home/flywheel/Netbeans/jBoxCLI/build
clean:
init:
deps-jar:
Created dir: /home/flywheel/Netbeans/jBoxCLI/build
Updating property file: /home/flywheel/Netbeans/jBoxCLI/build/built-jar.properties
Created dir: /home/flywheel/Netbeans/jBoxCLI/build/classes
Created dir: /home/flywheel/Netbeans/jBoxCLI/build/empty
Created dir: /home/flywheel/Netbeans/jBoxCLI/build/generated-sources/ap-source-output
Compiling 1 source file to /home/flywheel/Netbeans/jBoxCLI/build/classes
JBoxCLI.java:3: package cn.com.believer.songyuanframework.openapi.storage.box does not exist
import cn.com.believer.songyuanframework.openapi.storage.box.BoxExternalAPI;
^
JBoxCLI.java:8: cannot find symbol
symbol : class BoxExternalAPI
location: class jboxcli.JBoxCLI
BoxExternalAPI iBoxExternalAPI = new SimpleBoxImpl();
^
JBoxCLI.java:8: cannot find symbol
symbol : class SimpleBoxImpl
location: class jboxcli.JBoxCLI
BoxExternalAPI iBoxExternalAPI = new SimpleBoxImpl();
^
3 errors
/home/flywheel/Netbeans/jBoxCLI/nbproject/build-impl.xml:605: The following error occurred while executing this line:
/home/flywheel/Netbeans/jBoxCLI/nbproject/build-impl.xml:246: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)





Shaved down code : ------------------------

Code:
import cn.com.believer.songyuanframework.openapi.storage.box.BoxExternalAPI;

package jboxcli;

public class JBoxCLI {

public static void main(String[] args) {
      BoxExternalAPI iBoxExternalAPI = new SimpleBoxImpl();
    }
}


With gratitude and in hope that someone is able to correct me
/flywheel
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE 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