0
Answered
Customize issue - Cannot be resolved to a type
Hi,
I have been trying to customize MyCollab and I have encountered errors in the process. The code cloned from Git does not execute successfully as it is a scala file. It throws back numerous errors that are of the type "cannot be resolved to a type". Please advice on how I can execute this code without errors and the others options available, if any. Thank you.
I have been trying to customize MyCollab and I have encountered errors in the process. The code cloned from Git does not execute successfully as it is a scala file. It throws back numerous errors that are of the type "cannot be resolved to a type". Please advice on how I can execute this code without errors and the others options available, if any. Thank you.
Customer support service by UserEcho
Regards,
Hai Nguyen
Hai Nguyen
Regards,
Hai Nguyen
10:32:12.268 [main] INFO c.e.m.jetty.GenericServerRunner - Argument: -port 10:32:12.299 [main] INFO c.e.m.jetty.GenericServerRunner - Argument: 8080
10:32:12.371 [main] INFO org.eclipse.jetty.util.log - Logging initialized @33410ms
It seems this is the first time you run MyCollab. For complete installation, you must open the browser and type address http://<your server name>:8080 and complete the steps to install MyCollab.
10:32:13.521 [main] INFO org.eclipse.jetty.server.Server - jetty-9.2.13.v20150730
10:32:14.158 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@1213b92{/,null,AVAILABLE}
Exception in thread "Thread-10" com.esofthead.mycollab.core.MyCollabException: Can not detect webapp base folder
at com.esofthead.mycollab.jetty.GenericServerRunner$ServerLifeCycleListener$1.run(GenericServerRunner.java:391)
at java.lang.Thread.run(Thread.java:745)
10:32:14.391 [main] INFO o.e.jetty.server.ServerConnector - Started ServerConnector@b4cef0{HTTP/1.1}{0.0.0.0:8080}
10:32:14.391 [main] INFO org.eclipse.jetty.server.Server - Started @35440ms
10:33:05.597 [qtp4088664-12] INFO c.e.m.servlet.InstallationServlet - Try to install MyCollab
10:33:06.028 [qtp4088664-12] WARN c.e.m.servlet.InstallationServlet - Cannot authenticate mail server successfully. Make sure your inputs are correct.
10:33:06.058 [qtp4088664-12] WARN o.e.jetty.servlet.ServletHandler - /install
com.esofthead.mycollab.core.MyCollabException: The conf folder is not existed
at com.esofthead.mycollab.servlet.InstallationServlet.doGet(InstallationServlet.java:120) ~[classes/:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ~[javax.servlet-api-3.1.0.jar:3.1.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet-api-3.1.0.jar:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) ~[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.Server.handle(Server.java:499) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
Thank you!
Please find the log info below and provide your help, thank you :
Oct 13, 2015 12:01:33 PM org.springframework.context.support.DefaultLifecycleProcessor start INFO: Starting beans in phase 2147483647
Oct 13, 2015 12:01:33 PM org.springframework.scheduling.quartz.SchedulerFactoryBean startScheduler
INFO: Starting Quartz Scheduler now
Oct 13, 2015 12:01:33 PM org.springframework.scheduling.quartz.SchedulerFactoryBean startScheduler
INFO: Starting Quartz Scheduler now
12:01:33,118 INFO o.q.c.QuartzScheduler:575 - Scheduler quartzSchedulerCommunity_$_NON_CLUSTERED started.
12:01:33,118 INFO o.q.c.QuartzScheduler:575 - Scheduler quartzScheduler_$_NON_CLUSTERED started.
Oct 13, 2015 12:01:33 PM org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 46783 ms
ClassLoaderLeakPreventor: Settings for se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor (CL: 0xa8ceb6):
ClassLoaderLeakPreventor: stopThreads = true
ClassLoaderLeakPreventor: stopTimerThreads = true
ClassLoaderLeakPreventor: executeShutdownHooks = true
ClassLoaderLeakPreventor: threadWaitMs = 60000 ms
ClassLoaderLeakPreventor: shutdownHookWaitMs = 10000 ms
ClassLoaderLeakPreventor: Initializing context by loading some known offenders with system classloader
12:01:33,334 INFO f.x.s.f.ExpiresFilter:1375 - Filter initialized with configuration ExpiresFilter[active=true, excludedResponseStatusCode=[304], default=null, byType={text=ExpiresConfiguration[startingPoint=ACCESS_TIME, duration=[1 WEEK]], application/javascript=ExpiresConfiguration[startingPoint=ACCESS_TIME, duration=[1 WEEK]], image=ExpiresConfiguration[startingPoint=ACCESS_TIME, duration=[1 WEEK]]}]
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework addAtmosphereHandler
INFO: Installed AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler mapped to context-path: /*
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework addAtmosphereHandler
INFO: Installed the following AtmosphereInterceptor mapped to AtmosphereHandler com.vaadin.server.communication.PushAtmosphereHandler
Oct 13, 2015 12:01:33 PM org.atmosphere.util.IOUtils readServiceFile
INFO: META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework autoConfigureService
INFO: Atmosphere is using org.atmosphere.util.VoidAnnotationProcessor for processing annotation
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework initWebSocket
INFO: Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework configureAtmosphereInterceptor
INFO: Installing Default AtmosphereInterceptors
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response's Headers Interceptor
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework configureAtmosphereInterceptor
INFO: Dropping Interceptor org.atmosphere.interceptor.HeartbeatInterceptor
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework newAInterceptor
INFO: org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework configureAtmosphereInterceptor
INFO: Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Using BroadcasterCache: org.atmosphere.cache.UUIDBroadcasterCache
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Broadcaster Polling Wait Time 100
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Shared ExecutorService supported: true
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Messaging Thread Pool Size: Unlimited
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Async I/O Thread Pool Size: 200
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Invoke AtmosphereInterceptor on WebSocket message true
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: HttpSession supported: true
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Atmosphere is using async support: org.atmosphere.container.Jetty9AsyncSupportWithWebSocket running under container: jetty/9.2.13.v20150730 with WebSocket enabled.
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework info
INFO: Atmosphere Framework 2.2.7.vaadin1 started.
Oct 13, 2015 12:01:33 PM org.atmosphere.cpr.AtmosphereFramework interceptor
INFO: Installed AtmosphereInterceptor Track Message Size Interceptor using | with priority BEFORE_DEFAULT
12:01:33,655 INFO o.e.j.s.h.ContextHandler:744 - Started o.e.j.w.WebAppContext@b10754{/,file:/E:/mycollab/mycollab-Release_5.1.4/mycollab-Release_5.1.4/mycollab-app-community/src/main/webapp/,AVAILABLE}{E:\mycollab\mycollab-Release_5.1.4\mycollab-Release_5.1.4\mycollab-app-community\src\main\webapp}
12:01:33,674 INFO o.e.j.s.ServerConnector:266 - Started ServerConnector@1d91ffc{HTTP/1.1}{0.0.0.0:8080}
12:01:33,674 INFO o.e.j.s.Server:379 - Started @58666ms
Hai Nguyen
You please use the default account is admin@mycollab.com and password is admin123. And try to click twice to access the MyCollab for the workaround solution.
Hai
The errors that I was talking about:
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.server.Server.doStart(Server.java:354) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
at com.esofthead.mycollab.jetty.GenericServerRunner.execute(GenericServerRunner.java:222) [classes/:na]
at com.esofthead.mycollab.jetty.GenericServerRunner.run(GenericServerRunner.java:161) [classes/:na]
at com.esofthead.mycollab.jetty.CommunityServerRunner.main(CommunityServerRunner.java:40) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_85]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_85]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_85]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_85]
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) [idea_rt.jar:na]
Caused by: java.sql.SQLException: Cannot load from mysql.proc. The table is probably corrupted
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3847) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:871) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1940) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:3275) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:463) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:3009) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:2257) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1373) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:794) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2002) ~[mysql-connector-java-5.1.36.jar:5.1.36]
at com.zaxxer.hikari.proxy.PreparedStatementProxy.executeQuery(PreparedStatementProxy.java:52) ~[HikariCP-2.4.1.jar:na]
at com.zaxxer.hikari.proxy.HikariPreparedStatementProxy.executeQuery(HikariPreparedStatementProxy.java) ~[HikariCP-2.4.1.jar:na]
at org.flywaydb.core.internal.dbsupport.JdbcTemplate.queryForInt(JdbcTemplate.java:156) ~[flyway-core-3.2.1.jar:na]
at org.flywaydb.core.internal.dbsupport.mysql.MySQLSchema.doEmpty(MySQLSchema.java:49) ~[flyway-core-3.2.1.jar:na]
at org.flywaydb.core.internal.dbsupport.Schema.empty(Schema.java:93) ~[flyway-core-3.2.1.jar:na]
... 139 common frames omitted
This issue belongs to your mysql server. Google the issue may help you, or may be this link http://www.myguysolutions.com/2013/10/30/how-to-resolve-mysql-error-code-1548-cannot-load-from-mysql-proc-the-table-is-probably-corrupted/
The link helped me resolve the issue! It works successfully now!
Thank you!