Category Archives: Error

Springboot package error: failed to execute goal org.apache.maven.plugins:maven-resources-plugin: 3.2.0…

The solution was written above: modify the version of maven-Resources-plugin

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
        </plugin>

        <!--Modify the version here-->
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-resources-plugin</artifactId>
            <version>2.4.3</version>
        </plugin>
        <!---->

    </plugins>
</build>

Question: Today want to wrap springboot item packaged into a Jar or war packages, all of a sudden has been told me Failed to execute goal. Org. Apache maven. Plugins: maven - resources - the plugin: 3.2.0 </ code>, package </ code> and install </ code> command cannot be performed, Then I see that the version of my Maven-resources-plugin is 3.2.0. After looking up a lot of information, I wonder if it is the version problem. Then I change the version number below, and it becomes.

continue!

How to Fix Failed to load resource: the server responded with a status of 404()

Problem: Failed to Load Resource: The server required you with a status of 404 () In SpringMVC, you might encounter a page access 27) and discover that all static resources are 27) blocked because all static resources are 27) blocked by default (JS, CSS). HTML, image, video, audio) for static resources, you need to manually configure the static resource filter.
Solution:
The first:
web.xml

<servlet-mapping>
		<servlet-name>default</servlet-name>
		<url-pattern>*.jpg</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>default</servlet-name>
		<url-pattern>*.js</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>default</servlet-name>
		<url-pattern>*.css</url-pattern>
</servlet-mapping>

The second:
spingmvc.xml

<!-- Accessing Static Resource Configuration -->
    <mvc:resources location="/static/" mapping="/static/**" />

Commit failed – exit code 1 received, with output: ‘>running pre-commit hook: npm run precommit (Fixed)

Commit failed – exit code 1 received, with output: ‘> running pre-commit hook: npm run precommit

Solution:

delete the pre-commit file and go to the project.git folder — hooks — delete, and then commit the code again.

Reference to address: https://blog.csdn.net/m18633778874/article/details/87448059?Ops_request_misc = % 257 b % 2522 request 2522% % 255 fid % 253 a 2522% % 2522% % 2522160532515819724835827479% % 2522 SCM 252 c 253 a % 252220140713.130102334 PC % 255 fall. The 2522% % 257 d & amp; request_id=160532515819724835827479& biz_id=0& utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~rank_v28-1-87448059.pc_first_rank_v2_rank_v28& Utm_term = Commit + failed + + exit + code + 1 + re& SPM = 1018.2118.3001.4449

How to parse JSON string in.Net [error reading job object from jsonreader. Current jsonreader item is not an obj]

Edit time: 2017-05-10. Add a method to transform list
First, I know a way to parse JSON string before, I find it a little troublesome. I got another one from somewhere else

string json = vlt.getlist();

JObject jo = JObject.Parse(json);

var data = jo.getValue("data").ToObject<T>();

T is the corresponding entity class, and can be used directly in the member variable data.member
2. Json transformation of the List is to put it into redIS cache, and then take it out for transformation
Don’t talk nonsense, code on:

            var t = new List<PcWareListByCourseId>();
            var m1 = new PcWareListByCourseId
            {
                videoId = 12,
                IsAuditions = false,
                percent = 23,
                practiceId = 43,
                statuss = 2,
                TotalTime = "12.2",
                wareId = 22,
                wareName = "courseware"
            };
            var m2 = new PcWareListByCourseId
            {
                videoId = 12,
                IsAuditions = false,
                percent = 23,
                practiceId = 43,
                statuss = 2,
                TotalTime = "12.2",
                wareId = 22,
                wareName = "courseware"
            };
            t.Add(m1);
            t.Add(m2);
            RedisInfoHelper.SetRedis("test",t);

            var get = RedisInfoHelper.GetRedisValue("test");

            var jo = JArray.Parse(get);
            var jj = jo.ToObject<List<PcWareListByCourseId>>();

Entity code:

    public class PcWareListByCourseId
    {
        public int wareId { set; get; }
        public string wareName { set; get; }
        public bool IsAuditions { set; get; }
        public int videoId { set; get; }
        public int percent { set; get; }
        public int practiceId { set; get; }
        public int statuss { set; get; }
        public string TotalTime { set; get; }//11'22"
    }



Successful to the last step, successful transformation.
This time I’m using the JArray method class.

HTTP Error 401.3 – Unauthorized Error – While creating IIS 7.0 web site on Windows 7

After Migrating the application to work with the Integrated .NET mode, you might come across a problem: Server Error in Application “WebSiteName” – HTTP Error 401.3 – Unauthorized

 

HTTP Error 401.3 – Unauthorized

 

Resolving HTTP Error 401.3 – Unauthorized Error

Click on Authentication and click edit after choosing Anonymous Authentication. In the opening window select Application Pool identity and click OK.

 

Resolving HTTP Error 401.3 – Unauthorized Error – Application Pool Identity

How to Fix win10 video dxgkrnl fatal error

Today, when I use lenovo’s own update driver and system software update, the machine starts the dead cycle of blue screen — restart — restart after reboot, the machine automatically installs the driver — blue screen — restart.
blue screen error message is as follows:

So in the pop-up CMD, prompt is installing the driver, close the CMD, the machine will not restart.
then search the Internet for a solution:

The blue screen problem is usually due to driver and system incompatibility.
1. It is recommended to uninstall the newly installed drivers or network card and video card drivers.
2. Restart
3. Enter the system normally again, go to the official website to download the driver corresponding to your machine and the current system.
You can also perform a clean boot to block some third-party software from interfering with your system and help you troubleshoot the problem.
1. Press Win+R at the same time, type msconfig, enter
2. On the Services tab of the System Configuration dialog box, tap or click to check the "Hide all Microsoft services" check box, and then tap or Click on "Disable all". (If you have enabled fingerprint recognition, do not turn off the service)
On the Startup tab of the System Configuration dialog box, click Open Task Manager.
On the Startup tab of the Task Manager, for each startup item, select the startup item and click Disable.
Close the Task Manager.
On the Startup tab of the System Configuration dialog box, click OK, and then restart the computer.
The following are the steps to revert to normal startup.
1. Press Win+R at the same time, type msconfig, enter
On the General tab, tap or click on the Start normally option.
3. Tap or click on the Services tab and clear the check box beside "Hide all Microsoft services", and then tap or click on "Enable all".
Next, tap or click on the Startup tab, and then tap or click to open Task Manager.
In the Task Manager, enable all startup programs, and then tap or click OK.
If you are prompted to restart your computer, tap or click Restart.

The above solution from: http://answers.microsoft.com/zh-hans/windows/forum/windows8_1-hardware/video-dxgkrnl-fatal-error/e9a5c7bb-d2fd-443c-87be-418c01432bf6?auth=1
The measures I take are:
1. After starting up, press Win +R at the same time, enter msconfig, and enter
2. On the Services TAB in the System Configuration dialog box, click or click to select the Hide All Microsoft Services check box, and then click or click Disable All. (If you have enabled fingerprint identification, please do not turn off the relevant services)
Restart to find the problem solved, and then uninstall lenovo’s various system software, in case the next my hand is out of control update the system or driver.
Found a phenomenon is, in the machine just installed the system, with a variety of driver software to install the driver, this is rarely a problem; However, if the machine is used for a period of time, you then go to work on the installation, update the driver, prone to blue screen problems.

OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failur

OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Unable to establish SSL connection.
curl: (35) error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message

Description: An error occurred when using wget or curl to download a website file with HTTPS
Problem analysis: The above error is caused when you access sSLv3 data with OpenSSL 0.9.8h installed.
This is because this version does not automatically detect the SSL version and must be specified manually when used. The lower version does not need to be specified.
Example method:
To use a shell script, write curl -3 -k “https://xxxx”
Using PHP curl requires setting curl_setopt($ch, CURLOPT_SSLVERSION, 3);
Details:Use WGET to download:

wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz

Error:
Resolving fastdl.mongodb.org… 54.230.156.120, 54.230.156.74, 54.230.156.86, …
Connecting to fastdl.mongodb.org|54.230.156.120|:443… connected.
OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Unable to establish SSL connection.
Add –no-check-certificate still error

wget --no-check-certificate  https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz

Curl downloads, as the Internet says, still doesn’t work

curl -O -L https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz  Sometimes, curl-O-L-L works pretty well.

wget https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2.x86_64.rpm  You can directly rpm -ivh xxx or use curl -O-L for something like this.

Error message:
curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Problem tracing:
Upgrade opensSL and other libraries. SSLv3 is disabled because of a security vulnerability, so you need an SSL/TLS library that supports TLSv1.0, TLSv1.1, or TLSv1.2 to access most of the world’s up-to-date websites. In short, upgrade the software version.
[Knowledge Development]
Linux USES curl access HTTPS site all error are collated – CSDN blog https://blog.csdn.net/duan19056/article/details/51785728

flutter | W/zipro(12512): Error opening archive D:\…Invalid file ERROR: dump failed because…

flutter: the program cannot be run. W/zipro ( 8904): Error opening archive D:…apk: Invalid file
ERROR: dump failed because resource AndroidManifest.xml not found
Failed to extract manifest from APK: ProcessException: The command failed
Command: C:\Users…\AppData\Local\Android\sdk\build-tools\29.0.3\aapt dump xmltree
D:…\build\app\outputs\apk\app.apk AndroidManifest.xml.
No application found for TargetPlatform.android_arm64.
Consider running “flutter create .” to create one.
Solution: Enter flutter clean where flutter run should be entered.

R language learning problem solving error in output $nodeid: $operator is invalid for atomic vectors

Problem: Error in output$nodeID: $operator is invalid for atomic Vectors when viewing variable columns using the “$” operator

output <- data$score
output <- cbind(nodeID=dat$nodeID,score=output)
head(output$nodeID)
 Error in output$nodeID : $ operator is invalid for atomic vectors
# Check the type of output and find out it's matrix.
class(output)
 [1] "matrix"
#"data.frame" can only be used with "$", just use [,] here.
head(output[,1])

 

 

With regard to coredata storage, the operation could’t be completed. (cocoa error 133020.)



self.context=[[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType];
    [self.context setPersistentStoreCoordinator:dm.PSC];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(mocDidSaveNotification:) name:NSManagedObjectContextDidSaveNotification object:nil];
    [self.context setMergePolicy:NSMergeByPropertyObjectTrumpMergePolicy];//important!!!

 

Find malloc_error_Root cause method of break error

malloc_error_break error:1、You’ll find out what the object is when you break in the debugger. Just look up the call stack and you will find where you free it. That will tell you which object it is.

The easiest way to set the breakpoint is to:

    1. Goto Run -> Show -> Breakpoints (Alt-Command-B)Scroll to the bottom of the list and add the symbol

malloc_error_break2、Open up the debugger console by pressing Cmd+Shift+R. There, type

break malloc_error_break

to set a breakpoint at the beginning of the malloc_error_break function.

If you want to find out what object is located at address 0x1068310, you can type the following into the debugger console:

print-object 0x1068310

Of course, you have to do this while the object is still alive — if the object has already been freed by the time you do this, then this will not work.