如何解决 OWBSYS 用户中无效的 JAVA CLASS

How to resolve invalid JAVA CLASS in OWBSYS user

在 运行 以下 select 语句之后,我得到一些无效的 java 对象。

select OBJECT_NAME, OBJECT_TYPE, STATUS  from ALL_OBJECTS where status='INVALID' and owner='OWBSYS';
OBJECT_NAME OBJECT_TYPE STATUS
--------------- ------------------------------ ------------------- -------
/11d72cdd_TaskScheduler JAVA CLASS INVALID
/12b895ae_LexiComparator JAVA CLASS INVALID
/1327ed5a_LRUCacheLRUNode JAVA CLASS INVALID
/1aabcc3f_ServiceDoctor JAVA CLASS INVALID
/1dad730_NAMsgUtilComponentInf JAVA CLASS INVALID
/1ef21df6_NameAddrRes_ko JAVA CLASS INVALID
/20dd1937_ImmutableArray JAVA CLASS INVALID
/235a039f_NameAddrExceptions_e JAVA CLASS INVALID
/23c25276_UnhandledException JAVA CLASS INVALID

用 RESOLVE 子句

改变 java class
Connect to OWBSYS user

然后执行下面的语句

SQL> ALTER JAVA CLASS "<java class>" RESOLVE;