我正在尝试以ORC格式存储Avro对象。org.apache.hadoop.hive.serde2.avro.AvroLazyObjectInspector将Avro类型识别为无效原语,ORC编写器不支持该类型。输入如下:引起:
java.lang.IllegalArgumentException: Bad primitive category
每当我在Eclipse上运行程序时,我的tomcat就无法启动。我收到一个对话框,说明这条消息。java.lang.reflect.InvocationTargetException at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
Cause
以下是我的代码:ContactsContract.Contacts.CONTENT_URI, null我还添加了一个条件,仅选择具有电话号码的联系人,假设电话号码由于空数据而崩溃。还是不走运。是否需要添加权限才能获取电话号码?我的货单里已经有android.permission.READ_CONTACTS了。335): Shutting down VM
W/dalvikvm( 335): threadid=1: thread e
所以,每当我编译我的代码时,我都会遇到这个问题,我不知道为什么。对于我为什么会遇到这些错误,任何解释都是很好的。method at sun.reflect.NativeMethodAccessorImpl.invoke0(com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source)
at sun.reflect.NativeMethodAccessorI