Encountered fatal: unable to access‘ https://github.com/facebook/react-devtools/ ’: Unknown SSL protocol error in connection to github.com:443 ]( https://img-blog.csdnimg.cn/20210306100824601.png
Solution: change HTTPS to GIT
Encountered fatal: unable to access‘ https://github.com/facebook/react-devtools/ ’: Unknown SSL protocol error in connection to github.com:443 ]( https://img-blog.csdnimg.cn/20210306100824601.png
Solution: change HTTPS to GIT
Search for Ubuntu in the Microsoft Store (I only tested this system. If someone likes to toss, they can also try other systems, such as SUSE and Debian). The process of installing Ubuntu in the application page is very simple, just like installing software.
Search for Ubuntu in Cortana in the lower left corner, and click to enter. The interface you see is just like our terminal interface in Ubuntu. Test the LS command in this window, and it is correct.
Windows 10 Linux subsystem graphical interface
Update
sudo apt-get update
Install xorg
sudo apt-get install xorg
Install xfce4
sudo apt-get install xfce4
Installing xrdp
sudo apt-get install xrdp
Configuring xrdp
sudo sed -i ‘s/port=3389/port=3390/g’ /etc/xrdp/ xrdp.ini
Above is the configuration port
Write xfce4 session to xsession
sudo echo xfce4-session >~/.xsession
Restart xrdp service
sudo service xrdp restart
If there is a firewall, just allow it.
Search for remote desktop connection in Cortana, click enter, input local IP: port, and subsystem user name (in step 2, before the @ symbol in the terminal window)
Graphical interface of Linux subsystem under Windows 10
graphical interface of Linux subsystem under Windows 10
login is successful, and the graphical interface of Ubuntu is displayed.
Graphical interface of Linux subsystem under Windows 10
Xrdp should be started in the terminal before each remote connection, and the window cannot be closed.
By default, latex sets the_ “As a part of the subscript representation in the mathematical model, this kind of processing is very unpleasant in many cases, such as the underlined variable: host in the code_ Name or something. Although you can use “host”\_ “Name” and so on, but it’s not easy to read. The following method can deal with most problems.
If not, please refer to http://www.tex.ac.uk/cgi-bin/texfaq2html?label=underscore
%%%%%%%Handling underlines._%%%%%%%%%
\usepackage{underscore}
%%%%%%%Handling underlines._%%%%%%%%%
Recently, WeChat has been experiencing some problems, such as WeChat official account authorization, redirect_ The URI parameter is wrong, but many articles on the Internet can’t be explained clearly. They have been revised over and over again, but they still can’t.
The callback in WeChat official account can only be a full domain name, such as your visit. http://www.xx.com/authorize Authentication, but callback to fill in www.xx.com And then the request parameter is HTTP% 3A% 2F% 2 fwww.xx.com%2fauthorize , URLEncode is required
If there is no problem with the annotation, I suggest you check it web.xml Configuration, I was sliding monitoring class introduction error, resulting in an error.
That’s right:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
This is hand skating:
<listener>
<listener-class>org.springframework.web.context.ContextLoader</listener-class>
</listener>
Today, there was an error when running opencv module attributeerror: module 'CV2. CV2' has no attribute 'face' , CSDN checked and said that it was necessary to uninstall opencv first and then install it again. I felt that it was too troublesome, so I tried to find the answer in stackoverflow, which was effective. I specially recorded it
Opencv has two modules,
OpenCV_ contrib_ python、opencv_ Pythonlet their twoversion numbers be the sameis OK.
If not, adjust the version number of the two modules at the same time and try again. Remember to be consistent
PIP install the specified version
pip install opencv_contrib_python == version
If this helps you, please click like to support it 😀
Delete the content of stash, feel the whole world is clean:
In fact, there are just a few commands:
Git stash list / / view the stash list
If you get this result, your stash has nothing
in it

This means that there is a queue
in the queue
![]()
Then you can execute git stash clear: note that this is to clear all your content
$ git stash drop stash@{0} This is the first queue to be deleted
Overview uses requests to send a message with the following error:
Can’t connect to HTTPS URL because the SSL module is not available.
there is no problem with the requested URL, and the Linux side is running normally. Only Anaconda under Windows runs abnormally. In the solution reference, 3, 4 and 5 are common explanations, which have no effect on my situation. In my case, I use the second answer in reference 1:
# copy the files
libcrypto-1_1-x64.*
libssl-1_1-x64.*
# from ~\anaconda3\Library\bin to ~\anaconda2\DLLs
This can solve the problem, the specific reason is still not understand, mainly for the SSL network transmission level understanding is not deep enough. References
Write a simple C + + clock class, put into the header file, the main function in the call header file compilation error, the specific code is as follows:
clock.h:
#include <iostream>
using namespace std;
class Clock
{
private:
int h,m,s;
public:
Clock();
~Clock();
void SetTime(int h,int m,int s);
void AddOneS();
void ShowTime();
};
void Clock::SetTime(int h,int m,int s)
{
this->h = h;
this->m = m;
this->s = s;
}
void Clock::ShowTime()
{
cout<<h<<":"<<m<<":"<<s<<endl;
}
Main function:
#include "clock.h" //When calling custom headers, use "" instead of<>
using namespace std;
int main(void)
{
Clock c1,c2;
c1.SetTime(2,45,36);
c2.SetTime(6,40,34);
c1.ShowTime();
c2.ShowTime();
return 0;
}
Error prompt:

Check the error because “reference clock:: clock() and clock:: clock() are not defined”
It turns out that there is no function body for constructors and destructors
(1) : define function body in class: clock () {} ~ clock () {}
(2) : define function body outside class: void clock:: clock() {} void clock:: ~ clock() {}
Complete error message:
Nov 03, 2015 10:01:08 AM org.apache.catalina.core.StandardWrapperValve invoke
Warming: Servlet.service() for servlet [springmvc] in context with path [/xinghe-platform-web] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for ResScore.getByResourceLocalIds
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for ResScore.getByResourceLocalIds] with root cause
java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for ResScore.getByResourceLocalIds
at org.apache.ibatis.session.Configuration$StrictMap.get(Configuration.java:797)
at org.apache.ibatis.session.Configuration.getMappedStatement(Configuration.java:631)
at org.apache.ibatis.session.Configuration.getMappedStatement(Configuration.java:624)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:107)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
at com.sun.proxy.$Proxy17.selectList(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:198)
at com.xinghe.platform.dao.ResScoreDao.getByResourceLocalId(ResScoreDao.java:43)
at com.xinghe.platform.service.ResScoreManager.getByResourceLocalId(ResScoreManager.java:41)
at com.xinghe.platform.service.ResScoreManager$$FastClassBySpringCGLIB$$68ba2513.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
at com.xinghe.platform.service.ResScoreManager$$EnhancerBySpringCGLIB$$8cc6352f.getByResourceLocalId(<generated>)
at com.xinghe.platform.action.ResResourcePublic.getScore(ResResourcePublic.java:433)
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.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.auth.filter.AuthorizationFilter.doFilterInternal(AuthorizationFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.auth.filter.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:115)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xinghe.activate.filter.ActivateFilter.doFilterInternal(ActivateFilter.java:52)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Environment: Java project, spring MVC + mybatis framework,
source code location of this error:
when you see mybatis SystemException, you first think that the error may occur in ResScoreMapper.xml File, but Dao layer is directly related to Mapper.xml If you view the error information, you can see the following information: com.xinghe.platform . dao.ResScoreDao.getByResourceLocalId ( ResScoreDao.java:43 )
the mistake I encountered happened here!
error reason:
said the cause of the error, here made a mistake in pediatrics, copied the code from other Dao files, changed the name of the method, and changed the command space and method name in the Mapper that was invoked in selectOne, resulting in this error;
Mapped Statements collection does not does ResScore.getByResourceLocalIds
This is because the map getbyresourcelocalids cannot be found in mapper.
Method 1: use the built-in module
>>> import math
>>> math.pow(12, 2) # Request Square
144.0
>>> math.sqrt(144) # Find the square root
12.0
>>>
Method 2: use expression
>>> 12 ** 2 # Request Square
144
>>> 144 ** 0.5 # Find the square root
12.0
>>>
Method 3: use built-in function
>>> pow(12, 2) # Request Square
144
>>> pow(144, .5) # Find the square root
12.0
>>>