【解决】hessian 客户端报警告:Hessian/Burlap: xxx is an unknown class in sun.misc.Launcher……
2012-09-13 17:44
381 查看
hessian 的java客户端报异常:
警告:Hessian/Burlap:xxx is an unknown class in sun.misc.Launcher ……
java.lang.ClassNotFoundException:……
虽然只是警告,能正常使用,但总是让人感觉不爽。
原因:
hessian 服务端和客户端使用的相同对象不仅要定义完全相同,包也要相同。
解决方法:
把客户端和服务端使用的相同类放到相同的包下。
比如有个User.java类。
服务器端的包路径为:
package com.a.domain;
客户端同样为:
package com.a.domain;
参考:
http://www.iteye.com/problems/81125
警告:Hessian/Burlap:xxx is an unknown class in sun.misc.Launcher ……
java.lang.ClassNotFoundException:……
虽然只是警告,能正常使用,但总是让人感觉不爽。
原因:
hessian 服务端和客户端使用的相同对象不仅要定义完全相同,包也要相同。
解决方法:
把客户端和服务端使用的相同类放到相同的包下。
比如有个User.java类。
服务器端的包路径为:
package com.a.domain;
客户端同样为:
package com.a.domain;
参考:
http://www.iteye.com/problems/81125
相关文章推荐
- 警告: Hessian/Burlap: 'com.github.pagehelper.Page' is an unknown class in WebappClassLoader
- Hessian/Burlap: 'com.github.pagehelper.Page' is an unknown class in WebappClassLoader
- Hessian/Burlap: is an unknown class in WebappClassLoader
- Android Studio:xxx is not an enclosing class 错误的解决方法
- 错误:Invalid action class configuration that references an unknown class named [XXX]的解决
- objc[20556]:Class JavaLaunchHelper is implemented in both xxx 警告处理
- Mybatis-There is no getter for property named 'XXX' in 'class java.lang.String'解决办法
- 解决 e.g. x.new A() where x is an instance of xxx.class
- 解决“There is no getter for property named 'XXX' in 'class java.lang.Long'"
- Xcode解决“Implicit declaration of function 'XXX' is invalid in C99” 警告或报错
- Android Studio:xxx is not an enclosing class 错误的解决方法
- objc[20556]:Class JavaLaunchHelper is implemented in both xxx 警告处理
- 【转】The final local variable xxx cannot be assigned, since it is defined in an enclosing type
- There is no getter for property named 'id' in 'class java.lang.Integer'问题解决办法
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- -server 'default' is an unknown server in the configuration file.
- 解决error: "net.ipv4.netfilter.ip_conntrack_max" is an unknown key错误
- error C3872: '0x3000': this character is not allowed in an identifier 解决方法
- xxx is not in the sudoers file. This incident will be reported的解决方法
- MyBatis报错:There is no getter for property named 'xxx' in 'class java.lang.String'