Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译不通过 #1

Closed
simba83524 opened this issue Sep 7, 2016 · 2 comments
Closed

编译不通过 #1

simba83524 opened this issue Sep 7, 2016 · 2 comments

Comments

@simba83524
Copy link

编译dao的版本不对,报错

@simba83524
Copy link
Author

Description Resource Path Location Type
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path status.jsp /legends-monitor/src/main/webapp line 1 JSP Problem
Unknown Unknown Java Exception Breakpoint
Unknown Unknown Java Exception Breakpoint
The method countByParam(JobInfoQuery) is undefined for the type JobInfoDAO JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 90 Java Problem
The method findByParam(JobInfoQuery) is undefined for the type JobInfoDAO JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 89 Java Problem
The method findByParam(JobInfoQuery) is undefined for the type JobInfoDAO JobInfoServiceImpl.java /legends-server/src/main/java/com/tongbanjie/legends/server/service/impl line 216 Java Problem
The method findByParam(null) is undefined for the type JobInfoDAO Launcher.java /legends-server/src/main/java/com/tongbanjie/legends/server/component line 93 Java Problem
The method getCheckFinishTime() is undefined for the type JobInfo JobInfoServiceImpl.java /legends-server/src/main/java/com/tongbanjie/legends/server/service/impl line 255 Java Problem
The method getCheckFinishTime() is undefined for the type JobInfo JobInfoServiceImpl.java /legends-server/src/main/java/com/tongbanjie/legends/server/service/impl line 262 Java Problem
The method getListByNameAndGroup(String, String) in the type JobInfoHistoryDAO is not applicable for the arguments (String, String, int) JobInfoHistoryServiceImpl.java /legends-server/src/main/java/com/tongbanjie/legends/server/service/impl line 36 Java Problem
The method isCheckFinish() is undefined for the type JobInfo JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 117 Java Problem
The method isCheckFinish() is undefined for the type JobInfo JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 169 Java Problem
The method isCheckFinish() is undefined for the type JobInfo JobInfoServiceImpl.java /legends-server/src/main/java/com/tongbanjie/legends/server/service/impl line 254 Java Problem
The method isCheckFinish() is undefined for the type JobInfo JobInfoServiceImpl.java /legends-server/src/main/java/com/tongbanjie/legends/server/service/impl line 254 Java Problem
The method isCheckFinish() is undefined for the type JobInfo JobInfoServiceImpl.java /legends-server/src/main/java/com/tongbanjie/legends/server/service/impl line 289 Java Problem
The method setActualFinishTime(Date) is undefined for the type JobSnapshot JobExecutingComponent.java /legends-server/src/main/java/com/tongbanjie/legends/server/component line 163 Java Problem
The method setActualFinishTime(Date) is undefined for the type JobSnapshot JobExecutingComponent.java /legends-server/src/main/java/com/tongbanjie/legends/server/component line 191 Java Problem
The method setActualStartTime(Date) is undefined for the type JobSnapshot JobExecutingComponent.java /legends-server/src/main/java/com/tongbanjie/legends/server/component line 162 Java Problem
The method setActualStartTime(Date) is undefined for the type JobSnapshot JobExecutingComponent.java /legends-server/src/main/java/com/tongbanjie/legends/server/component line 190 Java Problem
The method setCheckFinish(boolean) is undefined for the type JobInfo JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 118 Java Problem
The method setCheckFinish(boolean) is undefined for the type JobInfo JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 170 Java Problem
The operator == is undefined for the argument type(s) boolean, null JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 113 Java Problem
The operator == is undefined for the argument type(s) boolean, null JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 165 Java Problem
Future is a raw type. References to generic type Future should be parameterized JobExecutorServlet.java /legends-client/src/main/java/com/tongbanjie/legends/client/core line 47 Java Problem
Future is a raw type. References to generic type Future should be parameterized JobExecutorServlet.java /legends-client/src/main/java/com/tongbanjie/legends/client/core line 47 Java Problem
Future is a raw type. References to generic type Future should be parameterized JobExecutorServlet.java /legends-client/src/main/java/com/tongbanjie/legends/client/core line 200 Java Problem
Null pointer access: The variable pw can only be null at this location QuickStart.java /HttpClient/src/org/apache/http/examples/client line 713 Java Problem
Resource leak: 'br' is never closed Test.java /HttpClient/src/org/apache/http/examples/client line 20 Java Problem
The constructor Scheme(String, SocketFactory, int) is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 51 Java Problem
The field HTTP.CHARSET_PARAM is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 169 Java Problem
The field HTTP.CHARSET_PARAM is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 181 Java Problem
The field HTTP.DEFAULT_PROTOCOL_CHARSET is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 170 Java Problem
The field HTTP.DEFAULT_PROTOCOL_CHARSET is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 183 Java Problem
The field HTTP.UTF_8 is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 167 Java Problem
The field HTTP.UTF_8 is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 168 Java Problem
The field HTTP.UTF_8 is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 169 Java Problem
The field HTTP.UTF_8 is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 171 Java Problem
The field HTTP.UTF_8 is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 179 Java Problem
The field HTTP.UTF_8 is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 180 Java Problem
The field HTTP.UTF_8 is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 181 Java Problem
The field HTTP.UTF_8 is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 183 Java Problem
The import java.io.File is never used Test.java /HttpClient/src/org/apache/http/examples/client line 4 Java Problem
The import java.io.FileOutputStream is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 9 Java Problem
The import java.io.IOException is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 3 Java Problem
The import java.nio.charset.Charset is never used HttpClientUtils.java /legends-server/src/main/java/com/tongbanjie/legends/server/utils line 34 Java Problem
The import java.util.ArrayList is never used ClientFormLogin.java /HttpClient/src/org/apache/http/examples/client line 29 Java Problem
The import java.util.HashMap is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 23 Java Problem
The import javax.net.ssl.SSLContext is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 28 Java Problem
The import javax.xml.bind.annotation.XmlRootElement is never used Result.java /legends-server/src/main/java/com/tongbanjie/legends/server/utils line 4 Java Problem
The import org.apache.http.client.entity.UrlEncodedFormEntity is never used ClientFormLogin.java /HttpClient/src/org/apache/http/examples/client line 36 Java Problem
The import org.apache.http.client.entity.UrlEncodedFormEntity is never used HttpClientUtils.java /legends-server/src/main/java/com/tongbanjie/legends/server/utils line 12 Java Problem
The import org.apache.http.client.methods.HttpPost is never used ClientFormLogin.java /HttpClient/src/org/apache/http/examples/client line 38 Java Problem
The import org.apache.http.conn.scheme.PlainSocketFactory is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 46 Java Problem
The import org.apache.http.conn.scheme.Scheme is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 47 Java Problem
The import org.apache.http.conn.scheme.SchemeRegistry is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 48 Java Problem
The import org.apache.http.conn.ssl.SSLSocketFactory is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 49 Java Problem
The import org.apache.http.Consts is never used ClientFormLogin.java /HttpClient/src/org/apache/http/examples/client line 32 Java Problem
The import org.apache.http.Consts is never used HttpClientUtils.java /legends-server/src/main/java/com/tongbanjie/legends/server/utils line 5 Java Problem
The import org.apache.http.Header is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 32 Java Problem
The import org.apache.http.HeaderElement is never used HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 13 Java Problem
The import org.apache.http.HeaderElement is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 33 Java Problem
The import org.apache.http.impl.conn.PoolingClientConnectionManager is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 54 Java Problem
The import org.apache.http.message.BasicNameValuePair is never used ClientFormLogin.java /HttpClient/src/org/apache/http/examples/client line 41 Java Problem
The import org.apache.http.message.BasicNameValuePair is never used HttpClientUtils.java /legends-server/src/main/java/com/tongbanjie/legends/server/utils line 26 Java Problem
The import org.apache.http.NameValuePair is never used ClientFormLogin.java /HttpClient/src/org/apache/http/examples/client line 35 Java Problem
The import org.apache.http.NameValuePair is never used HttpClientUtils.java /legends-server/src/main/java/com/tongbanjie/legends/server/utils line 8 Java Problem
The import org.apache.http.ParseException is never used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 40 Java Problem
The import org.junit.Test is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 5 Java Problem
The import org.quartz.Scheduler is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 7 Java Problem
The import org.quartz.SchedulerException is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 8 Java Problem
The import org.quartz.SimpleScheduleBuilder is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 9 Java Problem
The import org.quartz.Trigger is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 10 Java Problem
The import org.quartz.TriggerBuilder is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 11 Java Problem
The import org.quartz.TriggerKey is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 12 Java Problem
The import org.slf4j.Logger is never used ExecutingJobHolder.java /legends-server/src/main/java/com/tongbanjie/legends/server/component/execute line 3 Java Problem
The import org.slf4j.LoggerFactory is never used ExecutingJobHolder.java /legends-server/src/main/java/com/tongbanjie/legends/server/component/execute line 4 Java Problem
The import org.springframework.beans.factory.annotation.Autowired is never used QuartzTest.java /legends-server/src/test/java/com/tongbanjie/legends/server/test line 13 Java Problem
The method enableSSL(DefaultHttpClient) from the type QuickStart is never used locally QuickStart.java /HttpClient/src/org/apache/http/examples/client line 1334 Java Problem
The method setHostnameVerifier(X509HostnameVerifier) from the type SSLSocketFactory is deprecated HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 50 Java Problem
The value of the field JobInfoDAOTest.logger is not used JobInfoDAOTest.java /legends-dao/src/test/java/com/tongbanjie/legends/server/dao/test line 26 Java Problem
The value of the field JobInfoManagementController.logger is not used JobInfoManagementController.java /legends-server/src/main/java/com/tongbanjie/legends/server/web/controller line 35 Java Problem
The value of the field QuickStart.truseAllManager is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 1346 Java Problem
The value of the local variable pkID is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 114 Java Problem
The value of the local variable pw is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 473 Java Problem
The value of the local variable pw is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 542 Java Problem
The value of the local variable pw is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 638 Java Problem
The value of the local variable pwd is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 676 Java Problem
The value of the local variable pwd is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 730 Java Problem
The value of the local variable pwd is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 788 Java Problem
The value of the local variable pwd is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 950 Java Problem
The value of the local variable pwd is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 1024 Java Problem
The value of the local variable shared_key is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 508 Java Problem
The value of the local variable userName is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 675 Java Problem
The value of the local variable userName is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 729 Java Problem
The value of the local variable userName is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 787 Java Problem
The value of the local variable userName is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 949 Java Problem
The value of the local variable userName is not used QuickStart.java /HttpClient/src/org/apache/http/examples/client line 1023 Java Problem
Type safety: The expression of type List needs unchecked conversion to conform to List JobInfoDAOImpl.java /legends-dao/src/main/java/com/tongbanjie/legends/server/dao/impl line 19 Java Problem
Type safety: The expression of type List needs unchecked conversion to conform to List JobSnapshotDAOImpl.java /legends-dao/src/main/java/com/tongbanjie/legends/server/dao/impl line 98 Java Problem
TODO JobInfoServiceImpl.java /legends-server/src/main/java/com/tongbanjie/legends/server/service/impl line 314 Java Task
TODO Auto-generated catch block ClientAbstractJobTest.java /legends-server/src/main/java/com/tongbanjie/legends/server/test line 26 Java Task
TODO Auto-generated catch block HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 133 Java Task
TODO Auto-generated catch block HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 136 Java Task
TODO Auto-generated catch block HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 139 Java Task
TODO Auto-generated catch block HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 222 Java Task
TODO Auto-generated catch block QuickStart.java /HttpClient/src/org/apache/http/examples/client line 619 Java Task
TODO Auto-generated method stub HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 68 Java Task
TODO Auto-generated method stub HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 75 Java Task
TODO Auto-generated method stub HttpClientSendPost.java /HttpClient/src/org/apache/http/examples/client line 80 Java Task
TODO Auto-generated method stub QuickStart.java /HttpClient/src/org/apache/http/examples/client line 1351 Java Task
TODO Auto-generated method stub QuickStart.java /HttpClient/src/org/apache/http/examples/client line 1358 Java Task
TODO Auto-generated method stub QuickStart.java /HttpClient/src/org/apache/http/examples/client line 1363 Java Task
TODO(这里用一句话描述这个类的作用) JobException.java /legends-client/src/main/java/com/tongbanjie/legends/client/core line 8 Java Task
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:component-scan'. legends-dao-test.xml /legends-dao/src/test/resources/spring line 10 XML Problem
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:component-scan'. legends-mvc.xml /legends-server/src/main/resources/spring line 11 XML Problem
Referenced file contains errors (http://www.springframework.org/schema/context/spring-context-3.2.xsd). For more information, right click on the message in the Problems View and select "Show Details..." legends-context.xml /legends-server/src/main/resources/spring line 1 XML Problem
schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/context/spring-context-3.2.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema. legends-dao-test.xml /legends-dao/src/test/resources/spring line 10 XML Problem
schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/context/spring-context-3.2.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema. legends-mvc.xml /legends-server/src/main/resources/spring line 11 XML Problem
Stream not available job-info-history-mapper.xml /legends-dao/src/main/resources/mybatis/legends-tables line 2 XML Problem
Stream not available job-info-mapper.xml /legends-dao/src/main/resources/mybatis/legends-tables line 2 XML Problem
Stream not available job-info-mapper.xml /legends-server/src/main/resources/mybatis/legends-tables line 2 XML Problem
Stream not available job-snapshot-mapper.xml /legends-dao/src/main/resources/mybatis/legends-tables line 2 XML Problem
Stream not available legends-configuration.xml /legends-dao/src/main/resources/mybatis line 2 XML Problem
Stream not available legends-configuration.xml /legends-server/src/main/resources/mybatis line 2 XML Problem

@sunyi113
Copy link
Contributor

你好,确实是有这个问题,不好意思, 已经修复了。在 legends-server 中有个 dao package,将其删除即可,master merge 到 opensource 分支时,导致了这个问题,再次抱歉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants