Grails可以';t见轴-1.4.jar
对不起,我知道我是新来的,不擅长编程,这是我的问题: 即使axis-1.4.jar是在Grails可以';t见轴-1.4.jar,grails,axis,Grails,Axis,对不起,我知道我是新来的,不擅长编程,这是我的问题: 即使axis-1.4.jar是在buildconfig.groovy中定义并放在lib文件夹中,我的Grails也看不到它 我做了什么: 我验证了axis-1.4.jar,它包含TypeMappingRegistryImpl.class 结果如下: | Error 2013-03-06 11:17:58,786 [localhost-startStop-1] ERROR [localhost].[/SpagoJEEGrails] - Sta
buildconfig.groovy
中定义并放在lib文件夹中,我的Grails也看不到它
我做了什么:
我验证了axis-1.4.jar
,它包含TypeMappingRegistryImpl.class
结果如下:
| Error 2013-03-06 11:17:58,786 [localhost-startStop-1] ERROR [localhost].[/SpagoJEEGrails] - StandardWrapper.Throwable
Message: org/apache/axis/encoding/TypeMappingRegistryImpl
Line | Method
->> 449 | <init> in org.apache.axis.deployment.wsdd.WSDDDeployment
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 139 | setDocument in org.apache.axis.deployment.wsdd.WSDDDocument
| 65 | <init> . . . . in ''
| 179 | configureEngine in org.apache.axis.configuration.FileProvider
| 172 | init . . . . . in org.apache.axis.AxisEngine
| 156 | <init> in ''
| 88 | <init> . . . . in org.apache.axis.server.AxisServer
| 109 | createServer in org.apache.axis.server.DefaultAxisServerFactory
| 73 | getServer . . . in ''
| 185 | getEngine in org.apache.axis.transport.http.AxisServletBase
| 396 | getOption . . . in ''
| 112 | init in ''
| 334 | innerRun . . . in java.util.concurrent.FutureTask$Sync
| 166 | run in java.util.concurrent.FutureTask
| 1146 | runWorker . . . in java.util.concurrent.ThreadPoolExecutor
| 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run . . . . . . in java.lang.Thread
Caused by ClassNotFoundException: org.apache.axis.encoding.TypeMappingRegistryImpl
->> 217 | run in java.net.URLClassLoader$1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 205 | findClass in java.net.URLClassLoader
| 321 | loadClass . . . in java.lang.ClassLoader
| 266 | loadClass in ''
| 449 | <init> . . . . in org.apache.axis.deployment.wsdd.WSDDDeployment
| 139 | setDocument in org.apache.axis.deployment.wsdd.WSDDDocument
| 65 | <init> . . . . in ''
| 179 | configureEngine in org.apache.axis.configuration.FileProvider
| 172 | init . . . . . in org.apache.axis.AxisEngine
| 156 | <init> in ''
| 88 | <init> . . . . in org.apache.axis.server.AxisServer
| 109 | createServer in org.apache.axis.server.DefaultAxisServerFactory
| 73 | getServer . . . in ''
| 185 | getEngine in org.apache.axis.transport.http.AxisServletBase
| 396 | getOption . . . in ''
| 112 | init in ''
| 334 | innerRun . . . in java.util.concurrent.FutureTask$Sync
| 166 | run in java.util.concurrent.FutureTask
| 1146 | runWorker . . . in java.util.concurrent.ThreadPoolExecutor
| 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run . . . . . . in java.lang.Thread
| Error 2013-03-06 11:17:58,843 [localhost-startStop-1] ERROR [localhost].[/SpagoJEEGrails] - Servlet /SpagoJEEGrails threw load() exception
Message: org.apache.axis.encoding.TypeMappingRegistryImpl
Line | Method
->> 217 | run in java.net.URLClassLoader$1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 205 | findClass in java.net.URLClassLoader
| 321 | loadClass . . . in java.lang.ClassLoader
| 266 | loadClass in ''
| 449 | <init> . . . . in org.apache.axis.deployment.wsdd.WSDDDeployment
| 139 | setDocument in org.apache.axis.deployment.wsdd.WSDDDocument
| 65 | <init> . . . . in ''
| 179 | configureEngine in org.apache.axis.configuration.FileProvider
| 172 | init . . . . . in org.apache.axis.AxisEngine
| 156 | <init> in ''
| 88 | <init> . . . . in org.apache.axis.server.AxisServer
| 109 | createServer in org.apache.axis.server.DefaultAxisServerFactory
| 73 | getServer . . . in ''
| 185 | getEngine in org.apache.axis.transport.http.AxisServletBase
| 396 | getOption . . . in ''
| 112 | init in ''
| 334 | innerRun . . . in java.util.concurrent.FutureTask$Sync
| 166 | run in java.util.concurrent.FutureTask
| 1146 | runWorker . . . in java.util.concurrent.ThreadPoolExecutor
| 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run . . . . . . in java.lang.Thread
| Server running. Browse to http://localhost:8080/SpagoJEEGrails
| Error 2013-03-06 11:20:00,897 [http-bio-8080-exec-4] ERROR common.SsoServiceFactory - Error occurred
Message: null
Line | Method
->> 55 | getConfigValue in it.eng.spagobi.commons.SingletonConfig
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 44 | createProxyService in it.eng.spagobi.services.common.SsoServiceFactory
| 151 | findUserId . . . . in it.eng.spagobi.commons.filters.ProfileFilter
| 71 | doFilter in ''
| 82 | doFilter . . . . . in it.eng.spagobi.commons.filters.SpagoBICoreCheckSessionFilter
| 1146 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run in java.lang.Thread
| Error 2013-03-06 11:20:00,905 [http-bio-8080-exec-4] ERROR filters.ProfileFilter - java.lang.NullPointerException
| Error 2013-03-06 11:20:01,932 [http-bio-8080-exec-4] ERROR utilities.GeneralUtilities - Error while recovering SpagoBI context address
Message: null
Line | Method
->> 55 | getConfigValue in it.eng.spagobi.commons.SingletonConfig
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 657 | getSpagoBiContext in it.eng.spagobi.commons.utilities.GeneralUtilities
| 104 | _jspService . . . in org.apache.jsp.WEB_002dINF.jsp.commons.sessionExpired_jsp
| 70 | service in org.apache.jasper.runtime.HttpJspBase
| 432 | service . . . . . in org.apache.jasper.servlet.JspServletWrapper
| 390 | serviceJspFile in org.apache.jasper.servlet.JspServlet
| 334 | service . . . . . in ''
| 146 | route in it.eng.spago.dispatching.httpchannel.Router
| 91 | render . . . . . in it.eng.spago.presentation.rendering.AbstractServletModelRenderer
| 546 | render in it.eng.spago.dispatching.httpchannel.AdapterHTTP
| 449 | service . . . . . in ''
| 109 | doFilter in it.eng.spagobi.commons.filters.ProfileFilter
| 82 | doFilter . . . . in it.eng.spagobi.commons.filters.SpagoBICoreCheckSessionFilter
| 1146 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run in java.lang.Thread
| Error 2013-03-06 11:20:01,937 [http-bio-8080-exec-4] ERROR utilities.GeneralUtilities - Error while recovering SpagoBI context address
Message: null
Line | Method
->> 55 | getConfigValue in it.eng.spagobi.commons.SingletonConfig
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 657 | getSpagoBiContext in it.eng.spagobi.commons.utilities.GeneralUtilities
| 117 | _jspService . . . in org.apache.jsp.WEB_002dINF.jsp.commons.sessionExpired_jsp
| 70 | service in org.apache.jasper.runtime.HttpJspBase
| 432 | service . . . . . in org.apache.jasper.servlet.JspServletWrapper
| 390 | serviceJspFile in org.apache.jasper.servlet.JspServlet
| 334 | service . . . . . in ''
| 146 | route in it.eng.spago.dispatching.httpchannel.Router
| 91 | render . . . . . in it.eng.spago.presentation.rendering.AbstractServletModelRenderer
| 546 | render in it.eng.spago.dispatching.httpchannel.AdapterHTTP
| 449 | service . . . . . in ''
| 109 | doFilter in it.eng.spagobi.commons.filters.ProfileFilter
| 82 | doFilter . . . . in it.eng.spagobi.commons.filters.SpagoBICoreCheckSessionFilter
| 1146 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run in java.lang.Thread
| Error 2013-03-06 11:20:02,229 [http-bio-8080-exec-5] ERROR common.SsoServiceFactory - Error occurred
Message: null
Line | Method
->> 55 | getConfigValue in it.eng.spagobi.commons.SingletonConfig
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 44 | createProxyService in it.eng.spagobi.services.common.SsoServiceFactory
| 151 | findUserId . . . . in it.eng.spagobi.commons.filters.ProfileFilter
| 71 | doFilter in ''
| 82 | doFilter . . . . . in it.eng.spagobi.commons.filters.SpagoBICoreCheckSessionFilter
| 1146 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 679 | run in java.lang.Thread
| Error 2013-03-06 11:20:02,233 [http-bio-8080-exec-5] ERROR filters.ProfileFilter - java.lang.NullPointerException
|错误2013-03-06 11:17:58786[localhost-startStop-1]错误[localhost]./SpagoJEEGrails]-StandardWrapper.Throwable
消息:org/apache/axis/encoding/TypeMappingRegistryImpl
直线法
->>449 |在org.apache.axis.deployment.wsdd.WSDDDeployment中
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|139 | org.apache.axis.deployment.wsdd.WSDDDocument中的setDocument
| 65 | . . . . 在“
|179 |在org.apache.axis.configuration.FileProvider中配置引擎
|172 |初始。在org.apache.axis.AxisEngine中
|156英寸
| 88 | . . . . 在org.apache.axis.server.AxisServer中
|109 | org.apache.axis.server.DefaultAxisServerFactory中的createServer
|73 |获取服务器。在“
|185 | org.apache.axis.transport.http.AxisServletBase中的getEngine
|396 |获取选项。在“
|112 |起始于“
|334 |内部运行。在java.util.concurrent.FutureTask$Sync中
|166 |在java.util.concurrent.FutureTask中运行
|1146 | runWorker。在java.util.concurrent.ThreadPoolExecutor中
|615 |在java.util.concurrent.ThreadPoolExecutor$Worker中运行
^679 |跑。在java.lang.Thread中
由ClassNotFoundException引起:org.apache.axis.encoding.TypeMappingRegistryImpl
->>217 |在java.net.URLClassLoader$1中运行
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|205 | java.net.URLClassLoader中的findClass
|321 |载荷等级。在java.lang.ClassLoader中
|266 |负荷等级为“
| 449 | . . . . 在org.apache.axis.deployment.wsdd.WSDDDeployment中
|139 | org.apache.axis.deployment.wsdd.WSDDDocument中的setDocument
| 65 | . . . . 在“
|179 |在org.apache.axis.configuration.FileProvider中配置引擎
|172 |初始。在org.apache.axis.AxisEngine中
|156英寸
| 88 | . . . . 在org.apache.axis.server.AxisServer中
|109 | org.apache.axis.server.DefaultAxisServerFactory中的createServer
|73 |获取服务器。在“
|185 | org.apache.axis.transport.http.AxisServletBase中的getEngine
|396 |获取选项。在“
|112 |起始于“
|334 |内部运行。在java.util.concurrent.FutureTask$Sync中
|166 |在java.util.concurrent.FutureTask中运行
|1146 | runWorker。在java.util.concurrent.ThreadPoolExecutor中
|615 |在java.util.concurrent.ThreadPoolExecutor$Worker中运行
^679 |跑。在java.lang.Thread中
|错误2013-03-06 11:17:58843[localhost-startStop-1]错误[localhost].[/SpagoJEEGrails]-Servlet/SpagoJEEGrails抛出load()异常
消息:org.apache.axis.encoding.TypeMappingRegistryImpl
直线法
->>217 |在java.net.URLClassLoader$1中运行
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|205 | java.net.URLClassLoader中的findClass
|321 |载荷等级。在java.lang.ClassLoader中
|266 |负荷等级为“
| 449 | . . . . 在org.apache.axis.deployment.wsdd.WSDDDeployment中
|139 | org.apache.axis.deployment.wsdd.WSDDDocument中的setDocument
| 65 | . . . . 在“
|179 |在org.apache.axis.configuration.FileProvider中配置引擎
|172 |初始。在org.apache.axis.AxisEngine中
|156英寸
| 88 | . . . . 在org.apache.axis.server.AxisServer中
|109 | org.apache.axis.server.DefaultAxisServerFactory中的createServer
|73 |获取服务器。在“
|185 | org.apache.axis.transport.http.AxisServletBase中的getEngine
|396 |获取选项。在“
|112 |起始于“
|334 |内部运行。在java.util.concurrent.FutureTask$Sync中
|166 |在java.util.concurrent.FutureTask中运行
|1146 | runWorker。在java.util.concurrent.ThreadPoolExecutor中
|615 |在java.util.concurrent.ThreadPoolExecutor$Worker中运行
^679 |跑。在java.lang.Thread中
|服务器正在运行。浏览到http://localhost:8080/SpagoJEEGrails
|错误2013-03-06 11:20:00897[http-bio-8080-exec-4]错误常见。SsoServiceFactory-发生错误
消息:空
直线法
->>55 | it.eng.spagobi.commons.SingletonConfig中的getConfigValue
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|44 |在it.eng.spagobi.services.common.SsoServiceFactory中创建ProxyService
|151 |芬杜塞里德。在it.eng.spagobi.commons.filters.ProfileFilter中
|71 |过滤器位于“
|82 | doFilter。在it.eng.spagobi.commons.filters.spagobicoreccessionfilter中
|1146 | java.util.concurrent.ThreadPoolExecutor中的runWorker
|615 |运行。在java.util.concurrent.ThreadPoolExecutor$Worker中
^679 |在java.lang.Thread中运行
|错误2013-03-06 11:20:00905[http-bio-8080-exec-4]错误过滤器.ProfileFilter-java.lang.NullPointerException
|错误2013-03-06 11:20:01932[http-bio-8080-exec-4]错误实用程序.GeneralUtilities-恢复SpagoBI上下文地址时出错
消息:空
直线法
->>55 | it.eng.spagobi.commons.SingletonConfig中的getConfigValue
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|657 |在it.eng.spagobi.commons.utilities.GeneralUtilities中获取SPAGOBIContext
|104 | | U JSP服务。在org.apache.jsp.WEB_002dINF.jsp.commons.sessionExpired_jsp中
|70 | org.apache.jas中的服务
grails clean
grails refresh-dependencies
grails run-app