HTTP Status 500 – Internal Server Error – The server encountered an unexpected condition

各位前辈,我初学JAVA的

我根据一位热心群友的建议,将stuts.xml的namespace="/qiantai",改为namespace="/";

今天遇到这么个情况:window端myeclipse做的一个工程,用的是jdk7+tomcat8.
500HTTP Status 500 – Internal Server Error

Type Exception Report

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception
java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
........

Root Cause
java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session;
...............

Note The full stack trace of the root cause is available in the server logs.

初入门,各位前辈帮忙一下!
我试过用用jdk7+tomcat7.jdk7+tomcat8.jdk8+tomcat8.
都是此版本的项目都是一样不行;但是我用此版本重做个源代码基本相同的项目,居然是正常的!

帮下新手,请问如何在更高级的SSH框架下,不出现“HTTP Status 500 – Internal Server Error”错误呢?

2个回答

这个提示是没有这个方法错误,你可以更新jar包,换最新版本的包看看

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
HTTP Status 500 – Internal Server Error

Type Exception Report Message java.lang.NullPointerException Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception org.apache.jasper.JasperException: java.lang.NullPointerException org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:601) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:91) Root Cause java.lang.NullPointerException org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:827) org.apache.struts2.components.UIBean.end(UIBean.java:535) org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:42) org.apache.jsp.index_jsp._jspx_meth_s_005ftextfield_005f0(index_jsp.java:278) org.apache.jsp.index_jsp._jspx_meth_s_005fform_005f0(index_jsp.java:228) org.apache.jsp.index_jsp._jspService(index_jsp.java:163) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:91) Note The full stack trace of the root cause is available in the server logs. Apache Tomcat/8.5.13

HTTP 错误 500.19 - Internal Server Error

报错信息 ![图片说明](https://img-ask.csdn.net/upload/201808/08/1533665527_242450.png) 自动生成的web.config长这个样子…… ![图片说明](https://img-ask.csdn.net/upload/201808/08/1533665541_924914.png) VS2017 .net core 第一次学着做网站,制作的时候在电脑上运行的蛮好,发布到服务器上就出现了这种错误。

HTTP状态500错误,内部服务器错误

org.springframework.jdbc.UncategorizedSQLException:Hibernate操作:无法打开连接; 未分类的SQL的SQLException [???]; SQL状态[null]; 错误代码[0]; 无法创建PoolableConnectionFactory(用户'sa'登录失败。); 嵌套异常是org.apache.commons.dbcp.SQLNestedException:无法创建PoolableConnectionFactory(用户'sa'登录失败。) ![图片说明](https://img-ask.csdn.net/upload/201906/14/1560477154_971120.png) 使用myeclipse10连接SQL Server2012 ,Tomcat7部署的

Go-micro kubernetes greeter示例-无法访问greeter API服务

<div class="post-text" itemprop="text"> <p>I'm trying to get this go-micro greeter example working on Kubernetes <a href="https://github.com/micro/examples/tree/master/greeter" rel="nofollow noreferrer">https://github.com/micro/examples/tree/master/greeter</a></p> <p>I can run this locally in docker fine. However when I attempt to access the greeter api service via Kubernetes (http://{{external-ip}}/greeter/say/hello), I get the error: {"id":"go.micro.api","code":500,"detail":"not found","status":"Internal Server Error"}</p> <p>For the sake of troubleshooting I've simplified the scenario, I simply want to be able to make a call via the micro api to a go-micro api service. Below is my setup:</p> <p>api.go</p> <pre><code>package main import ( "github.com/micro/go-micro" api "github.com/micro/micro/api/proto" "log" k8s "github.com/micro/kubernetes/go/micro" "context" ) type Say struct { } //I just want to access this via the micro api on k8s via services external ip func (s *Say) Hello(ctx context.Context, req *api.Request, rsp *api.Response) error { rsp.StatusCode = 200 rsp.Body = "Hello" return nil } func main() { service := k8s.NewService( micro.Name("default.greeter-api"), ) service.Init() service.Server().Handle( service.Server().NewHandler( &amp;Say{}, ), ) if err := service.Run(); err != nil { log.Fatal(err) } } </code></pre> <p>micro-api-deployment.yml</p> <pre><code>apiVersion: apps/v1 kind: Deployment metadata: name: micro spec: replicas: 1 selector: matchLabels: app: micro template: metadata: labels: app: micro spec: containers: - name: micro image: microhq/micro:kubernetes args: - "api" - "--handler=rpc" - "--namespace=default" env: - name: MICRO_API_ADDRESS value: ":80" ports: - containerPort: 80 name: api-port </code></pre> <p>micro-api-svc.yml</p> <pre><code>apiVersion: v1 kind: Service metadata: name: micro spec: type: LoadBalancer ports: - name: api-http port: 80 targetPort: "api-port" protocol: TCP selector: app: micro </code></pre> <p>greet-deployment.yml</p> <pre><code>apiVersion: apps/v1beta1 kind: Deployment metadata: name: greeter-api spec: replicas: 1 selector: matchLabels: app: greeter-api template: metadata: labels: app: greeter-api spec: containers: - name: greeter-api-service image: greeter-api:latest imagePullPolicy: Always command: [ "./greet", "--selector=static", "--server_address=:8080", ] ports: - containerPort: 8080 name: greet-port </code></pre> <p>greet-svc.yml</p> <pre><code>apiVersion: v1 kind: Service metadata: name: greet labels: app: greet spec: ports: - port: 8080 protocol: TCP selector: app: greet </code></pre> </div>

快来大神 求解答.................

HTTP Status 500 - Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: type Exception report message Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: description The server encountered an internal error that prevented it from fulfilling this request. exception org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: ### Error updating database. Cause: java.sql.SQLException: Field 'links' doesn't have a default value ### The error may involve com.doje.limiguo.news.dao.newsMapper.insertSelective-Inline ### The error occurred while setting parameters ### SQL: insert into t_news ( title, content, imgPath, types ) values ( ?, ?, ?, ? ) ### Cause: java.sql.SQLException: Field 'links' doesn't have a default value ; SQL []; Field 'links' doesn't have a default value; nested exception is java.sql.SQLException: Field 'links' doesn't have a default value org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:973) org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863) javax.servlet.http.HttpServlet.service(HttpServlet.java:650) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)

gRPC设置问题。 出现间歇性RPC不可用错误

<div class="post-text" itemprop="text"> <p>我有一个grpc服务器和客户端,大部分时间都能正常运行,但是偶尔会收到“传输正在关闭”错误:</p> <pre class="lang-none prettyprint-override"><code>rpc error: code = Unavailable desc = transport is closing </code></pre> <p>我想知道我的设置是否有问题。 客户端很基础</p> <pre><code>connection, err := grpc.Dial(address, grpc.WithInsecure(), grpc.WithBlock()) pb.NewAppClient(connection) defer connection.Close() </code></pre> <p>并以类似超时的方式拨打电话</p> <pre><code>ctx, cancel := context.WithTimeout(ctx, 300*time.Millisecond) defer cancel() client.MyGRPCMethod(ctx, params) </code></pre> <p>我正在做的另一件事是检查连接来查看它是处于打开,空闲还是正在连接状态,如果有则重新使用该连接。 否则,请重拨。 </ p> <p>服务器没有任何特殊配置</p> <pre><code>grpc.NewServer() </code></pre> <p>设置grpc客户端/服务器时是否会遇到一些常见错误?</p> </div>

在本地的http.request规定了post方法,但在chrome控制台显示的是get方法

//server端 var http = require("http"); http.createServer(function(request, response) { if(request.method == 'POST'){ console.log('really'); var postdata=''; request.on('data',function(postchunk){ postdata+=postchunk; console.log('datais ==',postdata); }); } response.writeHead(200, {"Content-Type": "text/plain"}); response.write("welcome to the nodejs world "); response.end(); }).listen(8888); console.log("nodejs start listen 8888 port!"); //client端 var http = require("http"); var querystring =require('querystring'); var postData = querystring.stringify({ content:'加油加油加油', belongId:2862414 }); var options = { hostname: 'localhost', port: 8888, //path: '/test?params1="123"&params2=456', method: 'POST' }; var req = http.request(options, function(res) { console.log('STATUS: ' + res.statusCode); console.log('HEADERS: ' + JSON.stringify(res.headers)); res.setEncoding('utf8'); res.on('data', function (chunk) { console.log('BODY: ' + chunk); }); }); req.on('error', function(e) { console.log('problem with request: ' + e.message); }); // write data to request body req.write(postData); req.end(); ![图片说明](https://img-ask.csdn.net/upload/201705/18/1495117290_798711.jpg)

Invalid bound statement (not found)异常

![图片说明](https://img-ask.csdn.net/upload/201905/07/1557218574_126786.png) **如图,代码层** UserS.java ``` package com.fzx.mapper; import org.springframework.stereotype.Repository; /** * @类名:UserMapper.java * @创建时间:2019年5月7日 * @版本:1.0 */ @Repository(value = "UserMapper") public interface UserS { public Integer getCount() throws Exception; } ``` UserMapper.xml ``` <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org/DTD Mapper 3.0" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.fzx.mapper.UserS"> <select id="getCount" resultType="java.lang.Integer"> select count(0) from users </select> </mapper> ``` mybatis-config.xml ``` <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"> <configuration> <properties resource="mysql.properties"></properties> <environments default=""> <environment id=""> <transactionManager type="JDBC"></transactionManager> <dataSource type="POOLED"> <property name="driver" value="${jdbc.driver}"/> <property name="url" value="${jdbc.url}"/> <property name="username" value="${jdbc.username}"/> <property name="password" value="${jdbc.password}"/> </dataSource> </environment> </environments> <mappers> <!-- 自动扫描mapper下面的所有xml文件 --> <package name="com/fzx/mapper"/> </mappers> </configuration> ``` DBTest.java ``` package com.fzx.test; import java.io.Reader; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; /** * @类名:DBTest.java * @创建时间:2019年5月7日 * @版本:1.0 */ public class DBTest { public static SqlSessionFactory sqlSessionFactory; static { try { Reader reader = Resources.getResourceAsReader("mybatis-config.xml"); sqlSessionFactory = new SqlSessionFactoryBuilder().build(reader); } catch (Exception e) { e.printStackTrace(); } } public static SqlSession getSession() { return sqlSessionFactory.openSession(); } } ``` UserService.java ``` package com.fzx.Service; import org.apache.ibatis.session.SqlSession; import com.fzx.mapper.UserS; import com.fzx.test.DBTest; /** * @类名:UserService.java * @创建人:付祉旋 * @创建时间:2019年5月7日 * @版本:1.0 */ public class UserService { public static void main(String[] args) throws Exception { SqlSession session = DBTest.getSession(); UserS userMapper = session.getMapper(UserS.class); System.out.println(userMapper.getCount()); session.commit(); } } ``` **出现异常:Invalid bound statement (not found): com.fzx.mapper.UserS.getCount,怎么解决尼?**在线等~~~

在PHP cURL中使用Windows AD Cert Auth证书

<div class="post-text" itemprop="text"> <p>I am running PHP 5.6 on a Windows Server 2008R2 server. I am trying to get TLS v1.2 communications working between this server and another internal server (running Windows Server 2003x64). We use internal Windows AD Root and Issuing Cert Authorities so our certificate chain is Root CA - Issuing CA - Server Cert. When I try and connect, I get the following error:</p> <pre><code>* Trying 192.168.1.10... * Connected to targetserver.example.com (192.168.1.10) port 443 (#0) * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH * successfully set certificate verify locations: * CAfile: e:\php\cacert.pem CApath: none * SSL certificate problem: unable to get local issuer certificate * Closing connection 0 </code></pre> <p>I have converted both the root CA cert and the issuing CA cert to PEM format (using openssl) and added them to the end of the cacert.pem file. </p> <pre><code>&lt;?php function nxs_cURLTest($url, $msg, $testText){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_CAINFO, "e:\\php\\cacert.pem"); $verbose = fopen('php://temp', 'w+'); curl_setopt($ch, CURLOPT_STDERR, $verbose); $response = curl_exec($ch); $errmsg = curl_error($ch); $cInfo = curl_getinfo($ch); curl_close($ch); echo "&lt;br /&gt;Testing ... ".$url." - ".$cInfo['url']."&lt;br /&gt;"; if (stripos($response, $testText)!==false) echo "....&lt;b style='color:green;'&gt;".$msg." - OK&lt;/b&gt;&lt;br /&gt;"; else { echo "....&lt;b style='color:red;'&gt;".$msg." - Problem&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;"; print_r($errmsg); print_r($cInfo); print_r(strlen($response) . " bytes received."); print_r(htmlentities($response)); rewind($verbose); $verboseLog = stream_get_contents($verbose); echo "&lt;br /&gt;Verbose output:&lt;/br /&gt;"; echo "&lt;pre&gt;", htmlspecialchars($verboseLog), "&lt;/pre&gt;"; echo "&lt;/pre&gt;There is a problem with cURL. You need to contact your server admin or hosting provider.&lt;br /&gt;"; } } nxs_cURLTest("https://targetserver.example.com/curl/", "HTTPS to TargetServer", "Document contents"); ?&gt; </code></pre> <p>If I try to just use cURL from the command line, then I get a different error (EDIT: forced tls 1.0 as Win Serv 2003 doesn't support anything higher):</p> <pre><code>E:\openssl&gt;curl -Iv --tlsv1.0 "https://targetserver.example.com" * Rebuilt URL to: https://targetserver.example.com/ * Trying 192.168.1.10... * Connected to targetserver.example.com (192.168.1.10) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH * successfully set certificate verify locations: * CAfile: E:\openssl\curl-ca-bundle.crt CApath: none * TLSv1.0 (OUT), TLS header, Certificate Status (22): * TLSv1.0 (OUT), TLS handshake, Client hello (1): * TLSv1.0 (IN), TLS handshake, Server hello (2): * TLSv1.0 (IN), TLS handshake, Certificate (11): * TLSv1.0 (OUT), TLS alert, Server hello (2): * SSL certificate problem: unable to get local issuer certificate * Closing connection 0 * TLSv1.0 (OUT), TLS alert, Client hello (1): curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. </code></pre> <p>(note: ca-bundle.crt is a renamed copy of cacert.pem from above)</p> <p>If I connect to a different server that runs Server 2008R2 but that also has its certificate issued from our internal CA I get the following:</p> <pre><code>E:\openssl&gt;curl -Iv --tlsv1.0 "https://int-winsrv2008.example.com" * Rebuilt URL to: https://int-winsrv2008.example.com/ * Trying 192.168.1.6... * Connected to int-winsrv2008.example.com (192.168.1.6) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH * successfully set certificate verify locations: * CAfile: E:\openssl\curl-ca-bundle.crt CApath: none * TLSv1.0 (OUT), TLS header, Certificate Status (22): * TLSv1.0 (OUT), TLS handshake, Client hello (1): * TLSv1.0 (IN), TLS handshake, Server hello (2): * TLSv1.0 (IN), TLS handshake, Certificate (11): * TLSv1.0 (IN), TLS handshake, Server key exchange (12): * TLSv1.0 (IN), TLS handshake, Server finished (14): * TLSv1.0 (OUT), TLS handshake, Client key exchange (16): * TLSv1.0 (OUT), TLS change cipher, Client hello (1): * TLSv1.0 (OUT), TLS handshake, Finished (20): * TLSv1.0 (IN), TLS change cipher, Client hello (1): * TLSv1.0 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.0 / ECDHE-RSA-AES256-SHA * ALPN, server did not agree to a protocol * Server certificate: * subject: C=KY; ST=Grand Cayman; L=George Town; O=Port Authority of the Cayman Islands; OU=IT Department; CN=int-winsrv2008.example.com * start date: Aug 10 15:26:14 2015 GMT * expire date: Aug 9 15:26:14 2017 GMT * common name: int-winsrv2008.example.com (matched) * issuer: DC=com; DC=example; CN=example-Issuing-CA * SSL certificate verify ok. &gt; HEAD / HTTP/1.1 &gt; Host: int-winsrv2008.example.com &gt; User-Agent: curl/7.47.1 &gt; Accept: */* &gt; * TLSv1.0 (IN), TLS handshake, Hello request (0): * TLSv1.0 (OUT), TLS handshake, Client hello (1): * TLSv1.0 (IN), TLS handshake, Server hello (2): * TLSv1.0 (IN), TLS handshake, Certificate (11): * TLSv1.0 (IN), TLS handshake, Server key exchange (12): * TLSv1.0 (IN), TLS handshake, Request CERT (13): * TLSv1.0 (IN), TLS handshake, Server finished (14): * TLSv1.0 (OUT), TLS handshake, Certificate (11): * TLSv1.0 (OUT), TLS handshake, Client key exchange (16): * TLSv1.0 (OUT), TLS change cipher, Client hello (1): * TLSv1.0 (OUT), TLS handshake, Finished (20): * TLSv1.0 (IN), TLS change cipher, Client hello (1): * TLSv1.0 (IN), TLS handshake, Finished (20): &lt; HTTP/1.1 200 OK HTTP/1.1 200 OK &lt; Content-Length: 689 Content-Length: 689 &lt; Content-Type: text/html Content-Type: text/html &lt; Last-Modified: Thu, 18 Jul 2013 15:46:23 GMT Last-Modified: Thu, 18 Jul 2013 15:46:23 GMT &lt; Accept-Ranges: bytes Accept-Ranges: bytes &lt; ETag: "f12a46f4cd83ce1:0" ETag: "f12a46f4cd83ce1:0" &lt; Server: Microsoft-IIS/7.5 Server: Microsoft-IIS/7.5 &lt; X-Powered-By: ASP.NET X-Powered-By: ASP.NET &lt; Date: Tue, 09 Feb 2016 15:18:51 GMT Date: Tue, 09 Feb 2016 15:18:51 GMT &lt; * Connection #0 to host int-winsrv2008.example.com left intact </code></pre> <p>So it seems it's something to do with Win Server 2003. What am I missing?</p> </div>

hql传参出错could not extract ResultSet

这是我写的一个方法 ``` public BeanAdmin adminLogin(String loginName, String loginPwd) throws Exception { // TODO Auto-generated method stub Session session = MySessionFactory.getSession(); Transaction tx = null; BeanAdmin admin = null; try{ Query query = session.createQuery ("from BeanAdmin as a where a.admin_name=:loginName and a.admin_pwd=:loginPwd"); query.setMaxResults(1); query.setParameter("loginName",loginName); query.setParameter("loginPwd", loginPwd); tx = session.beginTransaction(); admin = (BeanAdmin)query.uniqueResult(); tx.commit(); }catch(Exception ex){ if(tx!=null)tx.rollback(); ex.printStackTrace(); }finally{ MySessionFactory.closeSession(); } return admin; } ``` 主函数 ``` public static void main(String args[]) throws Exception{ AdminServiceImpl as=new AdminServiceImpl(); BeanAdmin admin=new BeanAdmin(); admin=as.adminLogin("sa", "123456"); } ``` 错误: ``` log4j:WARN No appenders could be found for logger (org.jboss.logging). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Hibernate: select top 1 beanadmin0_.admin_id as admin_id1_1_, beanadmin0_.admin_type as admin_ty2_1_, beanadmin0_.admin_type_name as admin_ty3_1_, beanadmin0_.admin_name as admin_na4_1_, beanadmin0_.admin_pwd as admin_pw5_1_ from doudou_shop.admin beanadmin0_ where beanadmin0_.admin_name=? and beanadmin0_.admin_pwd=? org.hibernate.exception.SQLGrammarException: could not extract ResultSet at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123) at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:91) at org.hibernate.loader.Loader.getResultSet(Loader.java:2065) at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1862) at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1838) at org.hibernate.loader.Loader.doQuery(Loader.java:909) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:354) at org.hibernate.loader.Loader.doList(Loader.java:2553) at org.hibernate.loader.Loader.doList(Loader.java:2539) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2369) at org.hibernate.loader.Loader.list(Loader.java:2364) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:496) at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:387) at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:231) at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1264) at org.hibernate.internal.QueryImpl.list(QueryImpl.java:103) at org.hibernate.internal.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:966) at doudou.service.AdminServiceImpl.adminLogin(AdminServiceImpl.java:31) at doudou.service.AdminServiceImpl.main(AdminServiceImpl.java:153) Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 beanadmin0_.admin_id as admin_id1_1_, beanadmin0_.admin_type as admin_ty2_1_, ' at line 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at com.mysql.jdbc.Connection.execSQL(Connection.java:3176) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1153) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1266) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:82) ... 17 more ```

启动服务的时候总是出现这个提示Redirecting to /bin/systemctl start httpd.service

**我的系统是fedora20,启动服务(service httpd start)的时候总是会显示以下的错误Redirecting to /bin/systemctl start httpd.service,在网上查了一些资料,照着去做,修改了主机名,也关掉了selinux和检查了iptables,但是还是不行,希望了解这方面知识的您可以给出一些可行的建议,谢谢。**

MySQL数据库连接问题。

[code="java"][/code]我是个Java开发的初学者,最近开始自学Servlet/JSP编程,参考的是孙鑫老师编的《Servlet/Jsp深入详解——基于Tomcat的Web开发》。 在学习“第4章数据库访问”时遇到了问题,我按照书上的代码编写了一个CreateDBServlet.java用于连接数据库,编译是没问题的。进行了部署和配置后,访问时出错了,浏览器显示的错误信息如下: HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO) org.sunxin.ch04.servlet.CreateDBServlet.doGet(CreateDBServlet.java:61) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:910) com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3923) com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1273) com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2031) com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718) com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:298) com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282) java.sql.DriverManager.getConnection(DriverManager.java:525) java.sql.DriverManager.getConnection(DriverManager.java:171) org.sunxin.ch04.servlet.CreateDBServlet.doGet(CreateDBServlet.java:44) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs. -------------------------------------------------------------------------------- Apache Tomcat/6.0.18 CreateDBServlet代码如下: [code="java"]package org.sunxin.ch04.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class CreateDBServlet extends HttpServlet { private String userUrl; private String userName; private String password; public void init() throws ServletException { String driverClass=getInitParameter("driverClass"); userUrl=getInitParameter("userUrl"); userName=getInitParameter("userName"); password=getInitParameter("password"); try { Class.forName(driverClass); } catch (ClassNotFoundException ce) { throw new ServletException("加载数据库驱动失败!"); } } public void doGet(HttpServletRequest req,HttpServletResponse resp) throws ServletException,IOException { Connection conn=null; Statement stmt=null; try { conn=DriverManager.getConnection(userUrl,userName,password); stmt=conn.createStatement(); stmt.executeUpdate("create database bookstore"); stmt.executeUpdate("use bookstore"); stmt.executeUpdate("create table bookinfo(id INT not null primary key,title VARCHAR(50) not null,author VARCHAR(50) not null,bookconcern VARCHAR(50) not null,publish_date DATE not null,price FLOAT(4,2) not null,amount SMALLINT,remark VARCHAR(200))ENGINE=InnoDB"); stmt.addBatch("insert into bookinfo values(1,'Java Web 详解','孙鑫','电子工业出版社','2006-4-20',99.00,35,null)"); stmt.addBatch("insert into bookinfo values(2,'Struts 2深入详解','孙鑫','电子工业出版社','2008-6-15',79.00,20,null)"); stmt.addBatch("insert into bookinfo values(3,'Servlet/JSP详解','孙鑫','电子工业出版社','2008-7-1',79.00,10,null)"); stmt.executeBatch(); resp.setContentType("text/html;charset=GBK"); PrintWriter out=resp.getWriter(); out.println("数据库创建成功!"); out.close(); } catch (SQLException se) { throw new ServletException(se); } finally { if(stmt!=null) { try { stmt.close(); } catch (SQLException se) { se.printStackTrace(); } stmt=null; } if(conn!=null) { try { conn.close(); } catch (SQLException se) { se.printStackTrace(); } conn=null; } } } }[/code] web.xml文件如下: [code="java"]<?xml version="1.0" encoding="gb2312"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <servlet> <servlet-name>createDB</servlet-name> <servlet-class>org.sunxin.ch04.servlet.CreateDBServlet</servlet-class> <init-param> <param-name>driverClass</param-name> <param-value>com.mysql.jdbc.Driver</param-value> </init-param> <init-param> <param-name>userUrl</param-name> <param-value>jdbc:mysql://localhost:3306</param-value> </init-param> <init-param> <param-name>userName</param-name> <param-value>root</param-value> </init-param> <init-param> <param-name>passord</param-name> <param-value>12345678</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>createDB</servlet-name> <url-pattern>/createdb</url-pattern> </servlet-mapping> </web-app> [/code]

INFO放弃了:cocorico进入FATAL状态,太多开始重试太快

<div class="post-text" itemprop="text"> <p>For weeks I have had this same error:</p> <pre><code>INFO gave up: cocorico entered FATAL state, too many start retries too quickly </code></pre> <p>When I try to run cocorico with docker I get these errors as follows:</p> <pre><code>usermod: no changes 2019-02-19 17: 21: 32,530 CRIT Supervisor running as root (no user in config file) 2019-02-19 17: 21: 32,530 INFO Included extra file "/etc/supervisord.d/cocorico.conf" during parsing 2019-02-19 17: 21: 32,530 INFO included extra file "/etc/supervisord.d/mongo.conf" during parsing 2019-02-19 17: 21: 32,530 INFO Included extra file "/etc/supervisord.d/mysql.conf" during parsing 2019-02-19 17: 21: 32,644 CRIT Server 'inet_http_server' running without any HTTP authentication checking 2019-02-19 17: 21: 32,667 INFO supervisord started with pid 10 2019-02-19 17: 21: 33,671 INFO spawned: 'cocorico' with pid 13 2019-02-19 17: 21: 33,681 INFO spawned: 'mongo' with pid 14 2019-02-19 17: 21: 33,688 INFO spawned: 'mysql' with pid 15 2019-02-19 17: 21: 35,308 INFO success: cocorico entered RUNNING state, process has stayed up for&gt; than 1 seconds (startsecs) 2019-02-19 17: 21: 35,308 INFO success: mongo entered RUNNING state, process has stayed up for&gt; than 1 seconds (startsecs) 2019-02-19 17: 21: 35,308 INFO success: mysql entered RUNNING state, process has stayed up for&gt; than 1 seconds (startsecs) 2019-02-19 17: 24: 57,891 INFO exited: cocorico (exit status 1; not expected) 2019-02-19 17: 24: 58,946 INFO spawned: 'cocorico' with pid 1013 2019-02-19 17: 24: 59,589 INFO exited: cocorico (exit status 1; not expected) 2019-02-19 17: 25: 00,594 INFO spawned: 'cocorico' with pid 1026 2019-02-19 17:25: 01,224 INFO exited: cocorico (exit status 1; not expected) 2019-02-19 17: 25: 03,229 INFO spawned: 'cocorico' with pid 1039 2019-02-19 17:25: 03,882 INFO exited: cocorico (exit status 1; not expected) 2019-02-19 17: 25: 06,889 INFO spawned: 'cocorico' with pid 1052 2019-02-19 17:25: 07,520 INFO exited: cocorico (exit status 1; not expected) 2019-02-19 17:25: 08,522 INFO gave up: cocorico entered FATAL state, too many start retries too quickly </code></pre> <p>I can not find the error. My system:</p> <pre><code>DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION=”Ubuntu 18.04.2 LTS” </code></pre> <p>My frontend in localhost work normally</p> <p>But admin area not run I'm receiving this error in <a href="http://localhost/admin/login" rel="nofollow noreferrer">http://localhost/admin/login</a>:</p> <p>symfony exception detected / symfony 4</p> <p>Warning: get_class() expects parameter 1 to be object, null given 500 Internal Server Error - ContextErrorException</p> <p>Stack Trace in src/Cocorico/ReviewBundle/Security/Voter/ReviewVoter.php at line 50</p> <pre><code> public function vote(TokenInterface $token, $booking, array $attributes) { // check if class of this object is supported by this voter if (!$this-&gt;supportsClass(get_class($booking))) { return VoterInterface::ACCESS_ABSTAIN; } ``` RESUMED ALL: Stack Trace in ``` 1 - src/Cocorico/ReviewBundle/Security/Voter/ReviewVoter.php at line 50 + 2 - at ErrorHandler -&gt;handleError ('2', 'get_class() expects parameter 1 to be object, null given', '/cocorico/src/Cocorico/ReviewBundle/Security/Voter/ReviewVoter.php', '50', array('token' =&gt; object(AnonymousToken), 'booking' =&gt; null, 'attributes' =&gt; array('ROLE_ADMIN'))) 3 - at get_class (null) in src/Cocorico/ReviewBundle/Security/Voter/ReviewVoter.php at line 50 + public function vote(TokenInterface $token, $booking, array $attributes) { // check if class of this object is supported by this voter if (!$this-&gt;supportsClass(get_class($booking))) { return VoterInterface::ACCESS_ABSTAIN; } 4 - at ReviewVoter -&gt;vote (object(AnonymousToken), null, array('ROLE_ADMIN')) in app/cache/dev/classes.php at line 2870 + $grant = 0; foreach ($attributes as $attribute) { foreach ($this-&gt;voters as $voter) { $result = $voter-&gt;vote($token, $object, array($attribute)); switch ($result) { case VoterInterface::ACCESS_GRANTED: ++$grant; 5 - at AccessDecisionManager -&gt;decideUnanimous (object(AnonymousToken), array('ROLE_ADMIN'), null) in app/cache/dev/classes.php at line 2797 + } public function decide(TokenInterface $token, array $attributes, $object = null) { return $this-&gt;{$this-&gt;strategy}($token, $attributes, $object); } public function supportsAttribute($attribute) { 6 - at AccessDecisionManager -&gt;decide (object(AnonymousToken), array('ROLE_ADMIN'), null) in app/cache/dev/classes.php at line 2925 + if (!is_array($attributes)) { $attributes = array($attributes); } return $this-&gt;accessDecisionManager-&gt;decide($token, $attributes, $object); } } } 7 - at AuthorizationChecker -&gt;isGranted (array('ROLE_ADMIN'), null) in vendor/symfony/symfony/src/Symfony/Component/Security/Core/SecurityContext.php at line 102 + 8 - at SecurityContext -&gt;isGranted ('ROLE_ADMIN') in vendor/sonata-project/user-bundle/Controller/AdminSecurityController.php at line 61 + ? $this-&gt;container-&gt;get('form.csrf_provider')-&gt;generateCsrfToken('authenticate') : null; if ($this-&gt;container-&gt;get('security.context')-&gt;isGranted('ROLE_ADMIN')) { $refererUri = $request-&gt;server-&gt;get('HTTP_REFERER'); return new RedirectResponse($refererUri &amp;&amp; $refererUri != $request-&gt;getUri() ? $refererUri : $this-&gt;container-&gt;get('router')-&gt;generate('sonata_admin_dashboard')); 9 - at AdminSecurityController -&gt;loginAction () 10 - at call_user_func_array (array(object(AdminSecurityController), 'loginAction'), array()) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 139 + $arguments = $this-&gt;resolver-&gt;getArguments($request, $controller); // call controller $response = call_user_func_array($controller, $arguments); // view if (!$response instanceof Response) { 11 - at HttpKernel -&gt;handleRaw (object(Request), '1') in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 62 + $request-&gt;headers-&gt;set('X-Php-Ob-Level', ob_get_level()); try { return $this-&gt;handleRaw($request, $type); } catch (\Exception $e) { if (false === $catch) { $this-&gt;finishRequest($request, $type); 12 - at HttpKernel -&gt;handle (object(Request), '1', true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69 + $this-&gt;container-&gt;set('request', $request, 'request'); try { $response = parent::handle($request, $type, $catch); } catch (\Exception $e) { $this-&gt;container-&gt;set('request', null, 'request'); $this-&gt;container-&gt;leaveScope('request'); 13 - at ContainerAwareHttpKernel -&gt;handle (object(Request), '1', true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185 + $this-&gt;boot(); } return $this-&gt;getHttpKernel()-&gt;handle($request, $type, $catch); } /** 14 - at Kernel -&gt;handle (object(Request)) in web/app_dev.php at line 30 + $kernel = new AppKernel('dev', true); $kernel-&gt;loadClassCache(); $request = Request::createFromGlobals(); $response = $kernel-&gt;handle($request); $response-&gt;send(); $kernel-&gt;terminate($request, $response); </code></pre> <p>Logs - 1 error</p> <pre><code> INFO - The Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceList class is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Form\ChoiceList\ArrayChoiceList instead. INFO - The Symfony\Component\Form\Extension\Core\ChoiceList\SimpleChoiceList class is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Form\ChoiceList\ArrayChoiceList instead. INFO - Matched route "sonata_user_admin_security_login". INFO - Populated the TokenStorage with an anonymous Token. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Lexik\Bundle\CurrencyBundle\EventListener\LocaleListener::setCurrencyFormatterLocale". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Cocorico\CoreBundle\Listener\UserTypeCookieListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Knp\Bundle\MenuBundle\EventListener\VoterInitializerListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "SimpleThings\EntityAudit\Request\CurrentUserListener::handle". INFO - The Sonata\UserBundle\Controller\AdminSecurityController class extends Symfony\Component\DependencyInjection\ContainerAware that is deprecated since version 2.8, to be removed in 3.0. Use the ContainerAwareTrait instead. DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController". INFO - The "security.context" service is deprecated since Symfony 2.6 and will be removed in 3.0. INFO - The Symfony\Component\Security\Core\SecurityContext class is deprecated since version 2.6 and will be removed in 3.0. Use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage or Symfony\Component\Security\Core\Authorization\AuthorizationChecker instead. INFO - The "form.csrf_provider" service is deprecated since Symfony 2.4 and will be removed in 3.0. Use the "security.csrf.token_manager" service instead. INFO - The Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfTokenManagerAdapter::generateCsrfToken method is deprecated since version 2.4 and will be removed in version 3.0. Use the Symfony\Component\Security\Csrf\CsrfTokenManager class instead. CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: get_class() expects parameter 1 to be object, null given" at /cocorico/src/Cocorico/ReviewBundle/Security/Voter/ReviewVoter.php line 50 DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Lexik\Bundle\CurrencyBundle\EventListener\LocaleListener::setCurrencyFormatterLocale". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Cocorico\CoreBundle\Listener\UserTypeCookieListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "Knp\Bundle\MenuBundle\EventListener\VoterInitializerListener::onKernelRequest". DEBUG - Notified event "kernel.request" to listener "SimpleThings\EntityAudit\Request\CurrentUserListener::handle". INFO - The possibility to register the same extension twice ("Text") is deprecated since version 1.23 and will be removed in Twig 2.0. Use proper PHP inheritance instead. DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController". DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController". </code></pre> <p>Stack Trace (Plain Text) -</p> <pre><code> [1] Symfony\Component\Debug\Exception\ContextErrorException: Warning: get_class() expects parameter 1 to be object, null given at n/a in /cocorico/src/Cocorico/ReviewBundle/Security/Voter/ReviewVoter.php line 50 at Symfony\Component\Debug\ErrorHandler-&gt;handleError('2', 'get_class() expects parameter 1 to be object, null given', '/cocorico/src/Cocorico/ReviewBundle/Security/Voter/ReviewVoter.php', '50', array('token' =&gt; object(AnonymousToken), 'booking' =&gt; null, 'attributes' =&gt; array('ROLE_ADMIN'))) in line at get_class(null) in /cocorico/src/Cocorico/ReviewBundle/Security/Voter/ReviewVoter.php line 50 at Cocorico\ReviewBundle\Security\Voter\ReviewVoter-&gt;vote(object(AnonymousToken), null, array('ROLE_ADMIN')) in /cocorico/app/cache/dev/classes.php line 2870 at Symfony\Component\Security\Core\Authorization\AccessDecisionManager-&gt;decideUnanimous(object(AnonymousToken), array('ROLE_ADMIN'), null) in /cocorico/app/cache/dev/classes.php line 2797 at Symfony\Component\Security\Core\Authorization\AccessDecisionManager-&gt;decide(object(AnonymousToken), array('ROLE_ADMIN'), null) in /cocorico/app/cache/dev/classes.php line 2925 at Symfony\Component\Security\Core\Authorization\AuthorizationChecker-&gt;isGranted(array('ROLE_ADMIN'), null) in /cocorico/vendor/symfony/symfony/src/Symfony/Component/Security/Core/SecurityContext.php line 102 at Symfony\Component\Security\Core\SecurityContext-&gt;isGranted('ROLE_ADMIN') in /cocorico/vendor/sonata-project/user-bundle/Controller/AdminSecurityController.php line 61 at Sonata\UserBundle\Controller\AdminSecurityController-&gt;loginAction() in line at call_user_func_array(array(object(AdminSecurityController), 'loginAction'), array()) in /cocorico/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 139 at Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(object(Request), '1') in /cocorico/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 62 at Symfony\Component\HttpKernel\HttpKernel-&gt;handle(object(Request), '1', true) in /cocorico/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel-&gt;handle(object(Request), '1', true) in /cocorico/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185 at Symfony\Component\HttpKernel\Kernel-&gt;handle(object(Request)) in /cocorico/web/app_dev.php line 30 </code></pre> <p>I'm using symfony 4 on my system</p> <p>But not sure if this is causing this problem</p> </div>

oauth2实现php codeigniter

<div class="post-text" itemprop="text"> <p>I am working on web application using oauth2 for user authentication.</p> <p>I have set header as Authorization bearer But i am getting error</p> <blockquote> <p>{"error":"invalid_request", "error_description":"Only one method may be used to authenticate at a time (Auth header, GET or POST)"}</p> </blockquote> <p>I have tried code as below Javscript function</p> <pre><code>$.ajaxSetup({ beforeSend: function(xhr) { xhr.setRequestHeader('Authorization', 'Bearer' + localStorage["access_token"]); } }); function passDataToController(msg) { var fData = new FormData(); fData.append('access_token', msg['access_token']); fData.append('refresh_token', msg['refresh_token']); fData.append('token_type', msg['token_type']); fData.append('scope', msg['scope']); $.ajax({ type: "POST", url: site_url + "Dashboard/init", data: fData, cache: false, contentType: false, processData: false, success: function(msg) { console.log(msg); var html = JSON.parse(msg); if (html.status === true) { $(".se-pre-con").hide(); window.location.href = site_url + 'Dashboard'; } else if (html.status === false) { $(".se-pre-con").hide(); console.log(html.message); window.location.href = site_url + 'Signin'; } }, error: function(jqXHR, textStatus, errorThrown) { modalShow(errorThrown); } }, "json"); } </code></pre> <p>Dashboard Controller</p> <pre><code>class Dashboard extends MY_Controller { public function __construct() { parent::__construct(); $this-&gt;server_response = new stdClass(); $this-&gt;load-&gt;helper('url'); $this-&gt;load-&gt;database(); $this-&gt;load-&gt;library('session'); } public function init() { $this-&gt;load-&gt;view('Dashboard_view', ''); } } </code></pre> <p>MY_controller</p> <pre><code>&lt;?php class MY_Controller extends CI_Controller { function __construct() { //@session_start(); parent::__construct(); $this-&gt;load-&gt;library("Server", "server"); $this-&gt;load-&gt;database(); $this-&gt;server-&gt;require_scope("userinfo"); //you can require scope here } public function isAllMandatoryFieldsPresent($MANDATORY_FIELDS,$receivedFields) { $flag = 1; //$MANDATORY_FIELDS = array('doctorcontactnumber', 'doctorname', 'subscriptionlimittype'); $MANDATORY_FIELDS_COUNT = count($MANDATORY_FIELDS); for ($i = 0; $i &lt; $MANDATORY_FIELDS_COUNT; $i++) { if (!array_key_exists($MANDATORY_FIELDS[$i], $receivedFields)) { $flag = 0; break 1; } } if ($flag == 0) { return FALSE; } else { return TRUE; } } public function mp_isexist($data, $key) { if (array_key_exists($key, $data)) { if (!empty($data[$key])) { return true; } else { return false; } } else { return false; } } public function mp_isemail($data, $key) { if ($this-&gt;mp_isexist($data, $key)) { if (valid_email($data[$key])) { return true; } else { return false; } } else { return false; } } public function mp_ismobilenumber($data, $key) { if ($this-&gt;mp_isexist($data, $key)) { if (preg_match('/^\(?[0-9]{3}\)?[-. ]?[0-9]{3}[-. ]?[0-9]{4}$/', $data[$key])) { return true; } else { return FALSE; } } else { return false; } } public function mp_ispassword($data, $key) { if ($this-&gt;mp_isexist($data, $key)) { if (strlen($data[$key]) &gt;= 8) { return true; } else { return false; } } else { return false; } } public function mp_isconfirmpassword($data, $key, $preg) { if ($this-&gt;mp_isexist($data, $key)) { if ($data[$key] == $data[$preg]) { return true; } else { return false; } } else { return false; } } public function mp_isalpha($data, $key) { if ($this-&gt;mp_isexist($data, $key)) { if (ctype_alpha($data[$key])) { return true; } else { return false; } } else { return false; } } public function mp_isdigit($data, $key) { if ($this-&gt;mp_isexist($data, $key)) { if (ctype_digit($data[$key])) { return true; } else { return false; } } else { return false; } } public function mp_isdate($data, $key) { if ($this-&gt;mp_isexist($data, $key)) { if (preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $data[$key])) { return true; } else { return false; } } else { return false; } } public function mp_encrypt($data) { $encoded_string = trim($this-&gt;encrypt-&gt;encode($data)); $encoded_pattern = str_replace(array('+', '/', '='), array('-', '_', '~'), $encoded_string); return $encoded_pattern; } public function mp_decrypt($data) { $decoded_string = str_replace(array('-', '_', '~'), array('+', '/', '='), $data); $decoded_pattern = trim($this-&gt;encrypt-&gt;decode($decoded_string)); return $decoded_pattern; } public function mp_isclinicdetails($data, $key) { $array_count = count($data); if ($array_count != 0) { if ($array_count % 3 == 0) { return true; } else { return false; } } else { return false; } } public function displaydata($key) { $message = array( 'invalid' =&gt; 'Invalid request', 'true' =&gt; 'TRUE', 'false' =&gt; 'FALSE', 'email' =&gt; 'Enter valid email', 'emailexist' =&gt; 'Email already exist', 'emailnotexist' =&gt; 'Email not exist', 'mobilenumber' =&gt; 'Enter valid mobile number', 'password' =&gt; 'Enter valid 8 character password', 'confirmpassword' =&gt; 'Password and confirm password does not match', 'signupsuccess' =&gt; 'Successfully sign up', 'signuperror' =&gt; 'Invalid sign up', 'signinsuccess' =&gt; 'Successfully sign in', 'signinerror' =&gt; 'Invalid sign in', 'notactivate' =&gt; 'Account not activate', 'doctor_id' =&gt; 'Enter valid doctor id', 'firstname' =&gt; 'Enter valid first name', 'lastname' =&gt; 'Enter valid last name', 'dateofbirth' =&gt; 'Enter valid date of birth', 'medicalcouncil' =&gt; 'Enter valid medical council', 'year' =&gt; 'Enter valid year', 'registrationnumber' =&gt; 'Enter valid registration number', 'degree' =&gt; 'Enter valid degree', 'degreecertificate' =&gt; 'Upload degree certificate', 'profilephoto' =&gt; 'Upload profile photo', 'editprofilesuccess' =&gt; 'Profile successfully update', 'editprofileerror' =&gt; 'Profile not update', 'addpatientsuccess' =&gt; 'Patient insert successfully', 'addpatienterror' =&gt; 'Failed to insert patient', 'clinicdetails' =&gt; 'Enter valid clinic details', 'degreecertificate_error' =&gt; 'Degree certificate not upload', 'profilephoto_error' =&gt; 'Profile photo not upload' ); return $message[$key]; } public function setStatusCode($code) { $statuscodetext = array( 100 =&gt; 'Continue', 101 =&gt; 'Switching Protocols', 200 =&gt; 'OK', 201 =&gt; 'Created', 202 =&gt; 'Accepted', 203 =&gt; 'Non-Authoritative Information', 204 =&gt; 'No Content', 205 =&gt; 'Reset Content', 206 =&gt; 'Partial Content', 300 =&gt; 'Multiple Choices', 301 =&gt; 'Moved Permanently', 302 =&gt; 'Found', 303 =&gt; 'See Other', 304 =&gt; 'Not Modified', 305 =&gt; 'Use Proxy', 307 =&gt; 'Temporary Redirect', 400 =&gt; 'Bad Request', 401 =&gt; 'Unauthorized', 402 =&gt; 'Payment Required', 403 =&gt; 'Forbidden', 404 =&gt; 'Not Found', 405 =&gt; 'Method Not Allowed', 406 =&gt; 'Not Acceptable', 407 =&gt; 'Proxy Authentication Required', 408 =&gt; 'Request Time-out', 409 =&gt; 'Conflict', 410 =&gt; 'Gone', 411 =&gt; 'Length Required', 412 =&gt; 'Precondition Failed', 413 =&gt; 'Request Entity Too Large', 414 =&gt; 'Request-URI Too Large', 415 =&gt; 'Unsupported Media Type', 416 =&gt; 'Requested range not satisfiable', 417 =&gt; 'Expectation Failed', 500 =&gt; 'Internal Server Error', 501 =&gt; 'Not Implemented', 502 =&gt; 'Bad Gateway', 503 =&gt; 'Service Unavailable', 504 =&gt; 'Gateway Time-out' ); return $statuscodetext[$code]; } } </code></pre> </div>

软件测试入门、SQL、性能测试、测试管理工具

软件测试2小时入门,让您快速了解软件测试基本知识,有系统的了解; SQL一小时,让您快速理解和掌握SQL基本语法 jmeter性能测试 ,让您快速了解主流来源性能测试工具jmeter 测试管理工具-禅道,让您快速学会禅道的使用,学会测试项目、用例、缺陷的管理、

计算机组成原理实验教程

西北工业大学计算机组成原理实验课唐都仪器实验帮助,同实验指导书。分为运算器,存储器,控制器,模型计算机,输入输出系统5个章节

Java 最常见的 200+ 面试题:面试必备

这份面试清单是从我 2015 年做了 TeamLeader 之后开始收集的,一方面是给公司招聘用,另一方面是想用它来挖掘在 Java 技术栈中,还有那些知识点是我不知道的,我想找到这些技术盲点,然后修复它,以此来提高自己的技术水平。虽然我是从 2009 年就开始参加编程工作了,但我依旧觉得自己现在要学的东西很多,并且学习这些知识,让我很有成就感和满足感,那所以何乐而不为呢? 说回面试的事,这份面试...

winfrom中嵌套html,跟html的交互

winfrom中嵌套html,跟html的交互,源码就在里面一看就懂,很简单

玩转Python-Python3基础入门

总课时80+,提供源码和相关资料 本课程从Python零基础到纯Python项目实战。内容详细,案例丰富,覆盖了Python知识的方方面面,学完后不仅对Python知识有个系统化的了解,让你从Python小白变编程大牛! 课程包含: 1.python安装 2.变量、数据类型和运算符 3.选择结构 4.循环结构 5.函数和模块 6.文件读写 7.了解面向对象 8.异常处理

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:csdn590)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

基于VHDL的16位ALU简易设计

基于VHDL的16位ALU简易设计,可完成基本的加减、带进位加减、或、与等运算。

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

利用Verilog实现数字秒表(基本逻辑设计分频器练习)

设置复位开关。当按下复位开关时,秒表清零并做好计时准备。在任何情况下只要按下复位开关,秒表都要无条件地进行复位操作,即使是在计时过程中也要无条件地进行清零操作。 设置启/停开关。当按下启/停开关后,将

董付国老师Python全栈学习优惠套餐

购买套餐的朋友可以关注微信公众号“Python小屋”,上传付款截图,然后领取董老师任意图书1本。

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

计算机操作系统 第三版.pdf

计算机操作系统 第三版 本书全面介绍了计算机系统中的一个重要软件——操作系统(OS),本书是第三版,对2001年出版的修订版的各章内容均作了较多的修改,基本上能反映当前操作系统发展的现状,但章节名称基

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

150讲轻松搞定Python网络爬虫

【为什么学爬虫?】 &nbsp; &nbsp; &nbsp; &nbsp;1、爬虫入手容易,但是深入较难,如何写出高效率的爬虫,如何写出灵活性高可扩展的爬虫都是一项技术活。另外在爬虫过程中,经常容易遇到被反爬虫,比如字体反爬、IP识别、验证码等,如何层层攻克难点拿到想要的数据,这门课程,你都能学到! &nbsp; &nbsp; &nbsp; &nbsp;2、如果是作为一个其他行业的开发者,比如app开发,web开发,学习爬虫能让你加强对技术的认知,能够开发出更加安全的软件和网站 【课程设计】 一个完整的爬虫程序,无论大小,总体来说可以分成三个步骤,分别是: 网络请求:模拟浏览器的行为从网上抓取数据。 数据解析:将请求下来的数据进行过滤,提取我们想要的数据。 数据存储:将提取到的数据存储到硬盘或者内存中。比如用mysql数据库或者redis等。 那么本课程也是按照这几个步骤循序渐进的进行讲解,带领学生完整的掌握每个步骤的技术。另外,因为爬虫的多样性,在爬取的过程中可能会发生被反爬、效率低下等。因此我们又增加了两个章节用来提高爬虫程序的灵活性,分别是: 爬虫进阶:包括IP代理,多线程爬虫,图形验证码识别、JS加密解密、动态网页爬虫、字体反爬识别等。 Scrapy和分布式爬虫:Scrapy框架、Scrapy-redis组件、分布式爬虫等。 通过爬虫进阶的知识点我们能应付大量的反爬网站,而Scrapy框架作为一个专业的爬虫框架,使用他可以快速提高我们编写爬虫程序的效率和速度。另外如果一台机器不能满足你的需求,我们可以用分布式爬虫让多台机器帮助你快速爬取数据。 &nbsp; 从基础爬虫到商业化应用爬虫,本套课程满足您的所有需求! 【课程服务】 专属付费社群+每周三讨论会+1v1答疑

SEIR课程设计源码与相关城市数据.rar

SEIR结合学报与之前博客结合所做的一些改进,选择其中三个城市进行拟合仿真SEIR结合学报与之前博客结合所做的一些改进,选择其中三个城市进行拟合仿真SEIR结合学报与之前博客结合所做的一些改进,选择其

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

定量遥感中文版 梁顺林著 范闻捷译

这是梁顺林的定量遥感的中文版,由范闻捷等翻译的,是电子版PDF,解决了大家看英文费时费事的问题,希望大家下载看看,一定会有帮助的

GIS程序设计教程 基于ArcGIS Engine的C#开发实例

张丰,杜震洪,刘仁义编著.GIS程序设计教程 基于ArcGIS Engine的C#开发实例.浙江大学出版社,2012.05

人工智能-计算机视觉实战之路(必备算法+深度学习+项目实战)

系列课程主要分为3大阶段:(1)首先掌握计算机视觉必备算法原理,结合Opencv进行学习与练手,通过实际视项目进行案例应用展示。(2)进军当下最火的深度学习进行视觉任务实战,掌握深度学习中必备算法原理与网络模型架构。(3)结合经典深度学习框架与实战项目进行实战,基于真实数据集展开业务分析与建模实战。整体风格通俗易懂,项目驱动学习与就业面试。 建议同学们按照下列顺序来进行学习:1.Python入门视频课程 2.Opencv计算机视觉实战(Python版) 3.深度学习框架-PyTorch实战/人工智能框架实战精讲:Keras项目 4.Python-深度学习-物体检测实战 5.后续实战课程按照自己喜好选择就可以

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

微信小程序开发实战之番茄时钟开发

微信小程序番茄时钟视频教程,本课程将带着各位学员开发一个小程序初级实战类项目,针对只看过官方文档而又无从下手的开发者来说,可以作为一个较好的练手项目,对于有小程序开发经验的开发者而言,可以更好加深对小程序各类组件和API 的理解,为更深层次高难度的项目做铺垫。

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

去除异常值matlab程序

数据预处理中去除异常值的程序,matlab写成

用verilog HDL语言编写的秒表

在秒表设计中,分模块书写。用在七段数码管上显示。输入频率是1KHZ.可以显示百分秒,秒,分。如要显示小时,只需修改leds里的代码和主模块代码。改程序以通过硬件电路验证。完全正确。

[透视java——反编译、修补和逆向工程技术]源代码

源代码。

用QUARTUS设计模可变计数器器

用QUARTUS设计摸20|60的模可变计数器,文本设计

随机迷宫路径算法

基于C++写成的路径寻找,能够自动生成随机迷宫,并通过A*算法得到最短路径到达出口,可以直观地看到迷宫的构成以及路径的生成

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

Spring Boot -01- 快速入门篇(图文教程)

Spring Boot -01- 快速入门篇 今天开始不断整理 Spring Boot 2.0 版本学习笔记,大家可以在博客看到我的笔记,然后大家想看视频课程也可以到【慕课网】手机 app,去找【Spring Boot 2.0 深度实践】的课程,令人开心的是,课程完全免费! 什么是 Spring Boot? Spring Boot 是由 Pivotal 团队提供的全新框架。Spring Boot...

MySQL数据库从入门到实战应用

限时福利1:购课进答疑群专享柳峰(刘运强)老师答疑服务 限时福利2:购课后添加学习助手(微信号:csdn590),按消息提示即可领取编程大礼包! 为什么说每一个程序员都应该学习MySQL? 根据《2019-2020年中国开发者调查报告》显示,超83%的开发者都在使用MySQL数据库。 使用量大同时,掌握MySQL早已是运维、DBA的必备技能,甚至部分IT开发岗位也要求对数据库使用和原理有深入的了解和掌握。 学习编程,你可能会犹豫选择 C++ 还是 Java;入门数据科学,你可能会纠结于选择 Python 还是 R;但无论如何, MySQL 都是 IT 从业人员不可或缺的技能! 【课程设计】 在本课程中,刘运强老师会结合自己十多年来对MySQL的心得体会,通过课程给你分享一条高效的MySQL入门捷径,让学员少走弯路,彻底搞懂MySQL。 本课程包含3大模块:&nbsp; 一、基础篇: 主要以最新的MySQL8.0安装为例帮助学员解决安装与配置MySQL的问题,并对MySQL8.0的新特性做一定介绍,为后续的课程展开做好环境部署。 二、SQL语言篇: 本篇主要讲解SQL语言的四大部分数据查询语言DQL,数据操纵语言DML,数据定义语言DDL,数据控制语言DCL,学会熟练对库表进行增删改查等必备技能。 三、MySQL进阶篇: 本篇可以帮助学员更加高效的管理线上的MySQL数据库;具备MySQL的日常运维能力,语句调优、备份恢复等思路。 &nbsp;

MATLAB环境下ISI信道仿真及自适应均衡器设计

本文的程序时在matlab底下,在ISI信道条件下关于自适应均衡器的仿真

相关热词 c#框体中的退出函数 c# 按钮透明背景 c# idl 混编出错 c#在位置0处没有任何行 c# 循环给数组插入数据 c# 多线程死锁的例子 c# 钉钉读取员工排班 c# label 不显示 c#裁剪影像 c#工作进程更新ui
立即提问