Could not execute function call in web player - java.lang.NoClassDefFoundError

I created several data functions (TIBCO Enterprise Runtime for R) in my Spotfire dashboard. I can run them successfully in client version, but not in web player. Below is the error I copied from SplusServer.log under Tibco Spotfire Statistics Service installation file in my Spotfire server machine. I searched and tried a long time but still cannot solve it. Is there anybody who can help me@@ Thanks so much!

>--

2019-08-05 15:36:04,685 | INFO  | anonymousUser | ByteArrayInputResource | ByteArrayInputResource created.

2019-08-05 15:36:04,708 | ERROR | anonymousUser | ResourceResource | Server error when trying to put resource: <artifact://spotfire/eb0e941d-e877-437f-a4ab-39bc2fd373e4.sbdf>.

java.lang.NoClassDefFoundError: Could not initialize class com.insightful.splusserver.service.fileaccess.ArtifactRegister

at com.insightful.splusserver.service.fileaccess.restlet.resource.file.FileOutputResource.handleArtifactRegistration(FileOutputResource.java:90)

at com.insightful.splusserver.service.fileaccess.restlet.resource.file.FileOutputResource.put(FileOutputResource.java:46)

at com.insightful.splusserver.service.fileaccess.restlet.command.putter.FileResourcePutter.put(FileResourcePutter.java:40)

at com.insightful.splusserver.service.fileaccess.restlet.handler.ResourcePutHandler.handle(ResourcePutHandler.java:33)

at com.insightful.splusserver.service.fileaccess.restlet.ResourceResource.handlePut(ResourceResource.java:271)

at org.restlet.Finder.handle(Finder.java:359)

at org.restlet.Filter.doHandle(Filter.java:150)

at org.restlet.Filter.handle(Filter.java:195)

at org.restlet.Router.handle(Router.java:504)

at org.restlet.Filter.doHandle(Filter.java:150)

at org.restlet.Filter.handle(Filter.java:195)

at org.restlet.Filter.doHandle(Filter.java:150)

at org.restlet.Filter.handle(Filter.java:195)

at org.restlet.Filter.doHandle(Filter.java:150)

at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)

at org.restlet.Filter.handle(Filter.java:195)

at org.restlet.Filter.doHandle(Filter.java:150)

at org.restlet.Filter.handle(Filter.java:195)

at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)

at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)

at org.restlet.Application.handle(Application.java:341)

at org.restlet.Filter.doHandle(Filter.java:150)

at org.restlet.Filter.handle(Filter.java:195)

at org.restlet.Router.handle(Router.java:504)

at org.restlet.Filter.doHandle(Filter.java:150)

at org.restlet.Filter.handle(Filter.java:195)

at org.restlet.Router.handle(Router.java:504)

at org.restlet.Filter.doHandle(Filter.java:150)

at org.restlet.Filter.handle(Filter.java:195)

at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)

at org.restlet.Component.handle(Component.java:673)

at org.restlet.Server.handle(Server.java:331)

at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)

at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)

at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at com.insightful.splusserver.web.filter.LoggerFilter.doFilter(LoggerFilter.java:61)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at com.insightful.splusserver.util.WhoAmIFilter.doFilter(WhoAmIFilter.java:24)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:139)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:745)

Login