
Solutions and screenshots

Reference: https://help.remotedesktopmanager.com/index.html?troubleshooting_protocolerror.htm







http://www.downxia.com/downinfo/48858.html
After unloading, this is the same problem, port 80 is still occupied,
Click the built-in test function:

The prompt is occupied by Microsoft-HTTPAPi /2.0, but the service is not found in the service.
Check Baidu, close SQL Server Reporting Services service, solve the problem.
The following errors occurred during Git pull:
error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
Local pushes and merges form merge-head (FETCH-HEAD) and HEAD(push -HEAD) references. A HEAD represents a local reference that has been formed after a recent successful push. Merge-head represents a reference formed after a successful local pull. We can use merge-head or HEAD to achieve a similar effect to SVN Revet.
To solve
git reset --hard FETCH_HEAD
git pull
div>
#include <iostream>
using namespace std;
int i=1;
void main()
{
int i=i;
}
Error running:
error: '::main' must return 'int'
Reason: The C standard allows the main function to be of type void. In C++, main must be of type int.

is certain that there is something wrong with the Java runtime environment. What should we do in this case?There are actually two steps that you can take to solve the problem.
(1) into the C: \ Windows \ System32 to Java, javaw, javaws deleted or optional change (I will in the Java, javaw, javaws into javaa javawa javawsa), such as:

2. Because the environment variable configuration without any change, so the reshipment JDK can (new folder path consistent with the original configuration), such as new jdk1.8 in D set, I will install the path set to D: \ jdk1.8. 

after the completion of the above two steps, re-enter CMD, and then input java-version, this problem is perfectly solved, complete!
Finite Element Analysis Error Code System Error Code 1073741819
The first thing to note is that the system error code 1073741819 is a Windows error exit code and not an Abaqus ! This is due to an access conflict, i.e. the program is trying to access a location in memory (RAM or storage) that it is not allowed to access.
Therefore, there are many reasons why Abaqus causes this error. Here are a few, in order of likelihood.
The answer reproduced from: http://stackoverflow.com/questions/24577480/org-codehaus-groovy-grails-cli-support-grailsstarter-not-found-error
Recently upgraded the Ubuntu, but then when run grails projects: “Could not find or load a main class org. Codehaus. Groovy. Grails. Cli. Support. GrailsStarter” error, Google for a long time found was solved by a strange answer:
Just go to the Grails /bin directory and run the Grails commands from the command line. I don’t know why.
Difference between Git fetch and Git pull: Error: You have not concluded your merge (MERGE_HEAD exists)

The difference between FETCH and pull is that you can fetch the latest version from remote to local
1. Fetch: only fetch the latest version from remote to local, not merge(merge)
git fetch origin master //Get the latest version on the origin/master branch from the master master branch on a remote origin.
git log -p master..origin/master //Compare the difference between a local master branch and an origin/master branch.
git merge origin/master //consolidation
2. Pull: get the latest version remotely and merge(merge) locally
git pull origin master //This is equivalent to doing a git fetch and a git merge.
In practice, it may be better to git fetch, because before merge, it can be decided whether to merge according to the actual situation
Besides, it causes error: error: You have not concluded your merge (MERGE_HEAD exists). may be caused by the failure of automatically merging the code pulled down before
Solution 1: keep the local changes and abort the merge -& GT; Re-amalgamate -& GT; To pull
git merge --abort //Termination of pooling
git reset --merge //re-merger
git pull //refetch
Solution 2: Abandon the local code, and the remote version overwrites the local version (careful)
git fetch --all
git reset --hard origin/master
git fetch
O(1) Check Power of 2) : bad operand types for binary Operator ‘& ‘”.
First paste the code:
copy code
public class Solution {
/**
* @param n: An integer
* @return: True or false
*/
public boolean checkPowerOf2(int n) {
// write your code here
if(n<=0)
return false;
return (n&(n-1)==0)?true:false;
}
}
Copy the code
Error:
initially suspected an operator problem, but also ruled it out. I always think there is something wrong with the “true” and “false”, but I can’t find it. It turns out that it is really a priority problem and may be affected by the assignment (=) operator, as & “Is higher in priority than” == “, in fact the opposite is true. The identity operator has a higher priority than the bit operator, resulting in “&”; The left hand side is an int, and the right hand side is a Boolean.
so just put “return (n& (n-1)==0)?True, false;” Instead of “return ((n& (n-1))==0)?True, false;” It’ll be ok.
Original link:https://tex.stackexchange.com/questions/57364/ op-clash-forpackagexcolor
Therefore, the following is just a copy of the above link:
xcolorpackage is loaded via list. Put the line before\usepackage{listing}. But your preamble is too messy. Most importantly, you callhyperrefas the last package and put all the options beforegeometryfancyhdr.
ucsis irrelevant to your settings.As Harish wrote
\PassOptionsToPackage{svgnames}{xcolor}is fine in\usepackage{listing}, the problem is the sameTikZ</ code>. With\PassOptionsToPackage, you can avoid conflicts between options.
package com.text;
public class Lambda {
public static void main(String[] args) {
Lambda lambda = new Lambda();
lambda.oldRunable();
lambda.runable();
}
public void oldRunable() {
new Thread(new Runnable() {
public void run() {
System.out.println("The old runable now is using!");
}
}).start();
}
public void runable() {
new Thread(()->System.out.println("It's a lambda function!")).start();
}
}
Code line 19 reports an error:
Multiple markers at this line
- Syntax error on tokens, Expression expected instead
- Syntax error on token(s), misplaced construct (s)
After a search on the Internet, there was no explanation for this anomaly, and then I decided to run IDEA for a try. It turned out that the same code IDEA was not wrong, so this is for record
The author estimates that it may be because the version of MyEclipse8.5 is too low, but the author has not changed the version of MyEclipse, and I will try it again in the future. You are welcome to comment on the upgraded version, thank you