Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class could not extends "BeanBox" #1

Closed
xiaoCong2014 opened this issue Aug 7, 2016 · 1 comment
Closed

class could not extends "BeanBox" #1

xiaoCong2014 opened this issue Aug 7, 2016 · 1 comment

Comments

@xiaoCong2014
Copy link

I create a new class named "MyBox" and try "public class MyBox extends BeanBox", but :
1, eclipse IDE could not find class named "BeanBox",
2, "import com.mchange.v2.c3p0.ComboPooledDataSource; " is error.
my environment :
IDE: eclipse for J2EE Neon version .
I have download all the jars from:
http://central.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
http://central.maven.org/maven2/asm/asm/3.3.1/asm-3.3.1.jar
http://central.maven.org/maven2/org/aspectj/aspectjrt/1.8.9/aspectjrt-1.8.9.jar
http://central.maven.org/maven2/cglib/cglib/2.2.2/cglib-2.2.2.jar
and
add they to build path.

@drinkjava2
Copy link
Owner

drinkjava2 commented Aug 7, 2016

Hi XiaoCong2014,
Seems you did not find the BeanBox.java file, this is the source file you need. (I haven't upload jbeanbox-2.3.jar on this site because this project is still in developing and also I'm studying how to release a version on Github)
But anyway, currently this project is managed by Maven, you can run below commands from windows console(after installed git https://git-scm.com/downloads and Maven https://maven.apache.org/):
git clone https://github.com/drinkjava2/jBeanBox
cd jBeanBox
mvn -f pom.xml dependency:copy-dependencies
Then you can find all jars in jbeanbox-core\target\dependency folder or jbeanbox-example\target\dependency folder.
or run:
mvn install
mvn eclipse:eclipse
And then import this project into Eclipse, please note it's 2 modules, one is jBeanBox core, another one is examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants