Author Archives: Robins

Idea running error running ‘application’: solution to command line is too long

There are other idea error reporting tutorials in the personal blog. Students who need them can click the link below

https://www.itqiankun.com/article/100983585

When a new project is started in idea, it sometimes reports error running ‘application’: command line is too long. Short command line for application or aalso for spring boot default configuration. The error message is as follows

how to solve it?First, find the idea in the project/ workspace.xml File, and then find & lt; Component name = "propertiescomponent" & gt; & lt; & component & gt; tag, as shown below

and then add a line & lt; property name> to the component tag=“ dynamic.classpath "Value =" true "/ & gt; , that is to say,

in this way, when starting a project, there will be no error ☝ What's going on ☝ ؏؏

Error: cannot find module ‘webpack / lib / ruleset’_ solve

1. Error report

Error: Cannot find module 'webpack/lib/RuleSet'

In the first question, I tried to put node_ Modules folder and package- lock.json Delete the file and then NPM install it. I don’t know if it’s useful or not. Let’s take a note to solve the problem https://segmentfault.com/q/1010000012177571/a-1020000012180629
Comments below

2. After the execution, an error is reported

Error: Rule can only have one resource source (provided resource and test +

Solutions:
1 https://blog.csdn.net/weixin_ 40643648/article/details/109444867
reload webpage

3. Error report after execution

These dependencies were not found:
@videojs/vhs-utils/dist/byte-helpers in ./node_modules/video.js/dist/video.es.js
@videojs/vhs-utils/dist/containers in ./node_modules/video.js/dist/video.es.js

Solution:
Baidu found that the error was lack of dependence, so it directly solved the problem

npm install 
yarn run server

Modelsim compiles vivado IP and reports error protection region

The reason is that some IP file names of vivado seem to be VHD, but they are not written in VHD syntax. You need to compile vivado’s related libraries.

Check if the INI file of Modelsim in your project has the following libraries.
secureip = C:\modeltech64_ 10.2c\win64\xilinx_ lib/secureip
unisim = C:\modeltech64_ 10.2c\win64\xilinx_ lib/unisim
unimacro = C:\modeltech64_ 10.2c\win64\xilinx_ lib/unimacro
unifast = C:\modeltech64_ 10.2c\win64\xilinx_ lib/unifast
unisims_ ver = C:\modeltech64_ 10.2c\win64\xilinx_ lib/unisims_ ver
unimacro_ ver = C:\modeltech64_ 10.2c\win64\xilinx_ lib/unimacro_ ver
unifast_ ver = C:\modeltech64_ 10.2c\win64\xilinx_ lib/unifast_ ver
simprims_ ver = C:\modeltech64_ 10.2c\win64\xilinx_ lib/simprims_ ver

If not, you need to compile the following libraries first.

Click Tools – comparative simulation libraries on the vivado toolbar, as shown in Figure 2.

 

 

After compiling, there will be no problem in the simulation.

Error: Microsoft Visual C + + 14.0 is required to get it with Microsoft V + + comp

This problem bothered me for three hours, and finally solved. I’m sorry for the three hours of my life if I don’t write it down.

First of all, PIP install sketch, which reports an error

 error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

When you see the error report, your first reaction is to download the VC + + 14.0 build tools in the prompt.

Open the link and it turns out to be vs2015 build tools. Now I understand that vs 2015 is the VC + + 14.0 in the error report.

Download an online installation package, open it and prepare. Microsoft told me that it needs about 5GB of hard disk space

I already have vs2012 in my computer. This stuff has filled up my C disk. I need to install another vs2015, WTF?

Here, although I have vs2012 in my computer, it is invalid because it requires VC + + 14.0 and the wrong version.

However, it is certain that installing vs2015 build tools can solve the problem. Let’s take a look at the solution of stack overflow

https://stackoverflow.com/questions/29846087/microsoft-visual-c-14-0-is-required-unable-to-find-vcvarsall-bat

Give up this method and start Baidu

Many people said that they could download the WHL file of scrapy and install it offline, so they downloaded one, and the error is still reported.

There is no link here, because this method is invalid.

However, many people succeeded in installing the WHL file, so I began to analyze the error report carefully, and finally found the clue

The red box in the figure shows that there is an error in building twisted. Then I can manually install the offline package of twisted?

So in http://www.lfd.uci.edu/~gohlke/pythonlibs Find the twisted installation package

Twisted‑17.9.0‑cp35‑cp35m‑win_ AMD64. WHL directly PIP install this offline WHL, and it was successful.
Finally, PIP install sketch, or install the WHL file of sketch, and it will be successful soon.

The general idea is to report an error when installing a, find the thing B of can’t build, and then manually install the offline WHL of B. If an error is reported during the process of installing B,

Then go to the next level until the installation is successful.

Successful solution of eclipse startup error Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred

Error reporting process

Today, after opening eclipse, the following error occurred

problem analysis

The system is reinstalled on the computer, and then Java is also reinstalled. Useless files are generated in the computer’s C: [windows] system32, as shown in the following figure:

Problem solving

Just delete the three files above

OK, GAME OVER !

More wonderful content please pay attention to: the road of Java master

Reply to “java project” and get the following video tutorial for free

Error: bundling failed: error: unable to resolve module

When I was learning react native to load local with imgae, I encountered this problem. The code is like this

In the images folder of the root directory, there are backicon.png This picture is

According to the path configured above, the image can be located in the code, but the actual running test reported an error, and the image could not be found. Later, the test found that it was necessary to write like this

After changing to this, it can run normally, because refers to the image Login.js Different from the folder level of an image, you need to jump to the same level to find it. However, it’s not clear why you can also point out the path of the image without adding.. /.

Error: could’t connect to server 127.0.0.1:27017 Src / Mongo / shell/ mongo.js

A. check whether the service is started first. If the service is not started, start the service first: Net stat mongodb

B. if the service has been started, it may be that Mongo was shut down abnormally last time, resulting in the file storing data being occupied and locked. Just add the mongod.lock The file is deleted. Restart the service net stat mongodb.

[Tomcat] an error is reported when Tomcat starts ERROR:transport error 202:bind failed:Address already

Software testing technology exchange group: 429183023
2

A service of the test environment, which was good last week, suddenly couldn’t get up this week. I’m very puzzled.

But because of the test environment, the development was not very attentive, so I decided to solve it by myself. After observing the Catalina log, it is found that an error is reported

Tomcat start error ERROR:transport error 202:bind failed:Address already

So check it out start.sh File to see if there is a wrong address. When you see the remote debugging, you add a listening port, and the remote debugging of another service is also listening to this port before, so this port conflicts. The service can’t get up all the time. Delete – Xdebug- Xrunjdwp:transport=dt_ Socket, suspend = n, server = y, address = * * * *, perfect solution.

This admonishes us, because there are many services, when debugging a service remotely, we must restore the scene after debugging it!!! Because the test environment is shared, if someone else also uses this port for remote debugging, it will be GG

QT creator error: C1083: unable to open include file: “qmediaplayer”

QT creator error: C1083: unable to open include file: “qmediaplayer”: no such file or directory

But it was good before, and it was also good in other people’s code. After searching all afternoon, we finally found a solution

http://bbs.csdn.net/topics/390884883

Add QT + = Multimedia widgets to the. Pro file

Clean up the next project.
Menu build run qmake

Note: be sure to execute qmake, not just clean up the project!!!!

Error: could not create the Java virtual machine

Today, I suddenly encountered a very strange error report. Running Java program on the command line reported an error:

Error:Could not create the Java Virtual Machine.
Error:A Fatal exception has occurred,Program will exit.

Baidu later found that it deleted the java.exe 、 javaw.exe 、 javaws.exe These three running files can be deleted.

The specific reason is unknown.

Error:Could not create the Java Virtual Machine.
Error:A Fatal exception has occurred,Program will exit.

Start Tomcat and report error occurred during initialization of VM could not reserve enough space for object

Double click the mouse to start cattom startup.bat Flashback and operation error occurred, localhost:8080 Naturally, web pages can’t be opened.

1. Can be edited in startup.bat , add a line at the end to view the information of running error. In order to see the information in more detail, let’s change another sentence: find call% executable% “run% CMD_ LINE_ Args% replaces start with run.

pause

2. After joining, save and run startup.bat Error occurred during initialization of VM could not reserve enough space for object heap catalina.sh The Tomcat memory parameter of the file is too large, which is caused by exceeding the total available memory of the machine. You can modify it to an appropriate value.

3. Find it in the bin directory of Tomcat catalina.bat Edit and join, save and exit startup.bat That’s it.

set JAVA_OPTS=-server -Xms512m -Xmx512m  -XX:PermSize=256m -XX:MaxPermSize=256m