Upgrade the version of golang, uninstall the old version of go, download and install the new version of go. After installation, open the GoLand compilation project and report an error, Tips error:cannot find Package XXXX. If you look at the project carefully, there is no change. The original reason is that the installation program of golang will automatically generate an environment variable gopath, which is different from my original configuration. You can solve the problem by modifying the environment variable gopath.
Read More:
- Idea Maven project uses package to package and report error (package does not exist)
- Error in go running: cannot find package “
- error: goland –build constraints exclude all Go files
- Java project cannot import entity class package and service package, controller layer reports error, fix project setup is OK
- Go run error go run: cannot run non main package
- GoLand:Unresolved reference ‘NewFunction‘
- Solution of error report in springboot Maven package websocket
- SSIS package error report login failed for user’nt authority\anonymous logon’ solution
- Update project manually_ Solution of too large jar package in springboot
- Go get github.com/kotakanbe/go -Problems encountered in CVE dictionary Download
- Maven project pom.xml The solution of error report in execution of
- Idea project prompt: symbol not found or package does not have a solution
- Does the version of idea2020.1 import mybayis jar package or report an error? Error: (4,28) Java: package org.apache.ibatis.io does not exist
- Idea can’t find the solution of XML configuration by running project prompt through external Tomcat
- Solve the problem that M1 Mac can’t debug when using GoLand
- Create vue-cli4 project and report error command failed: yarn
- How to Fix unexpected directory layout in go language
- Line wrap of GoLand code
- New Maven project– pom.xml report errors
- Create Vue cli project and report error command failed: Yarn