my project structure, you can see the OJDBC jar added
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/checkbox"
android:layout_margin="@dimen/login_field_margin"
android:layout_alignParentRight="true"
android:focusable="false"
android:selectAllOnFocus="false"
android:focusableInTouchMode="false"
/>
<ListView android:layout_height="match_parent"
android:layout_width="match_parent"
android:id="@id/listView"
android:dividerHeight="0.25dp"
android:focusable="true"
android:divider="@color/colorDarkgrey"
android:background="@color/colorwhite"> </ListView>
我的hibernate配置是这样的我不知道哪里出错了,即使我在类路径中添加了jar。
apply plugin: 'java'
repositories {
jcenter()
}
dependencies {
compile 'org.hibernate:hibernate-core:4.3.6.Final'
compile 'org.slf4j:slf4j-api:1.7.21'
testCompile 'junit:junit:4.12'
}