-
Conteúdo Similar
-
Por FabricioVale
Mestrem do mysql quem pode me ajudar.
Tenho a seguinte pesquisa para efetuar no mysql.
Segue o exemplo da tabela:
DataeHora Local Atual Min Max Umidade
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
30/092019 14:06:55 Geladeira1 1.70C -3.60C 11.90C 29.30%
-
Por maycon3
Ola pessoal!
estou precisando de uma ajuda de vocês, não consigo encontra esse erro que me aparece no eclipse quando vou inserir uma informação no banco de dados que é msql.
ago 02, 2017 2:00:07 PM org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet [springmvc] in context with path [/fj21-tarefas] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: java.sql.SQLException: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long] with root cause
java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long
at com.mysql.jdbc.ConnectionImpl.buildCollationMapping(ConnectionImpl.java:1019)
at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3600)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2541)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at br.com.caelum.tarefas.ConnectionFactory.getConnection(ConnectionFactory.java:18)
at br.com.caelum.tarefas.dao.JdbcTarefaDao.<init>(JdbcTarefaDao.java:19)
at br.com.caelum.tarefas.controller.TarefasController.adiciona(TarefasController.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:214)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:748)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:931)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:833)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:807)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
-
Por LuisV
Qual o erro no código:
<b:if cond='data:blog.pageType != "index"'> <!-- only display title if it's non-empty --> <br></br><br></br><br></br><br></br> </b:if> Adicionado no documento "header"
Quero dar um quebra linha nas demais páginas para não cobrir uma parte do background, "<br>" é o suficiente para fazer isso, porém quero que a home continue sem quebra linha, mas este código não deixa a home intacta. Como podem notar no site a vitrine onde se localiza os destaques do mês e afins, estão com quabra linha, verão o espaço em branco entre ela e imagem de cima (onde tem fotos de mulheres escrito anéis,colares,etc).
Site: http://www.xjoias.com.br
-