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

Using with Eclipse #69

Open
mstedler opened this issue Jul 6, 2015 · 0 comments
Open

Using with Eclipse #69

mstedler opened this issue Jul 6, 2015 · 0 comments

Comments

@mstedler
Copy link

mstedler commented Jul 6, 2015

I compiled the srcs using ./gradlew build, generated the jars, put them on the build path, but when i run i get :

java.lang.ClassNotFoundException: ollie.AdapterHolderImpl at
java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:308)

My model:

@Table("cars")
public class Car extends Model {

    @Column("car_name")
    private String name;
}

and my init

public class CarApp extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        Ollie.with(getApplicationContext())
            .setName(Constant.DB_NAME)
            .setVersion(Constant.DB_VERSION)
            .setCacheSize(Ollie.DEFAULT_CACHE_SIZE)
            .setLogLevel(LogLevel.FULL).init();
    }
}
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

1 participant