2

申し訳ありませんが、私はプログラミングが新しくて苦手です。ここに私の問題があります。

私のGrailsは、 libフォルダーに定義されbuildconfig.groovyて配置されていても、axis-1.4.jarを認識できません。

私が何をした:

確認しまし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

ヘルプのためのThx:)

4

1 に答える 1

1

他の人がすでに述べたように、この順序で次のことを試してください。

grails clean
grails refresh-dependencies
grails run-app

上記はあなたの問題を解決するのに十分なはずです。

また、一般的に使用しているGrailsのバージョンを示すこともできます。

于 2013-03-06T19:26:24.403 に答える