hetty's People
Forkers
ziyoudefeng simplechen tsmoon chenld bright1989 bxvs888 gavinhwa peidachang bilxio hef82 garyudeng rakytan weijg shunshun66 bluelzx tonycody bitted fashtimedotcom jackzhao29 kerasking githubxiongyee hujihong sihan-bit jiaoming rzs840707 chinalongganhu chakra-coder ttgive wanghegithub sanshiqiduer tempbottle wwwwfw cqmrzeng trentsky nightdomain oldshipmaster xiongs etongle cyc6420 rockzeng ryan0923 ligzy leobelive mmm8955405 eonezhang toinfinity zhaiyuyong fengshao0907 zrh091110225 taoguan xulong2005 mingchuan alenwon family365 liulingfree yonglehou tracythink jango2015 little6 dut3062796s dengly luotianwen czarea xiaoxiong2060 zhujinfei5151 rucky2013 swmwlm wadecp3 qiujiayu aiheng1988 hlzhang123 chxiaowu blake2002 yinrongping microserviceprovider sdtm1016 bzwhhh javaref foryouslg maolala luyinquan lswqzhang hwlsniper developercoderepository alex2017year bob403hetty's Issues
启动异常SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:434)
at java.util.Properties.load0(Properties.java:353)
at java.util.Properties.load(Properties.java:341)
at com.hetty.conf.HettyConfig.loadPropertyFile(HettyConfig.java:62)
at com.hetty.core.Hetty.(Hetty.java:44)
at com.hetty.core.Hetty.main(Hetty.java:256)
pom引入
org.slf4j slf4j-log4j12 1.7.21 test log4j log4j 1.2.17依然无法启动.
入门级问题 望解答
Exception in thread "main" com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8081/apis/hello/
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:139)
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:283)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:170)
at com.sun.proxy.$Proxy0.hello(Unknown Source)
at com.hetty.Test.main(Test.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: java.io.FileNotFoundException: http://localhost:8081/apis/hello/
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890)
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:122)
... 9 more
Caused by: java.io.FileNotFoundException: http://localhost:8081/apis/hello/
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at com.caucho.hessian.client.HessianURLConnection.sendRequest(HessianURLConnection.java:109)
... 9 more
Process finished with exit code 1
缺少Jar包
Exception in thread "main" java.lang.NoClassDefFoundError: org/jaxen/JaxenException
at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
at org.dom4j.tree.AbstractNode.selectNodes(AbstractNode.java:164)
at com.hetty.conf.XmlConfigParser.getRoot(XmlConfigParser.java:165)
at com.hetty.conf.XmlConfigParser.(XmlConfigParser.java:35)
at com.hetty.plugin.XmlConfigPlugin.start(XmlConfigPlugin.java:21)
at com.hetty.core.Hetty.initPlugins(Hetty.java:142)
at com.hetty.core.Hetty.init(Hetty.java:53)
at com.hetty.core.Hetty.start(Hetty.java:240)
at org.fxl.test.Test.main(Test.java:12)
Caused by: java.lang.ClassNotFoundException: org.jaxen.JaxenException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 10 more
使用过程中会报这样一个异常,查询资料,原因是dom4j需要jaxen包导致的
http://www.jaxen.org/
能否介绍一下用hessian传输1个G的文件的细节
原生hessian可以使用chunked参数保证不会出现OOM
Hetty里面具体如何实现保证不会出现OOM呢?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.