Run pod install to re-create them from scratch.
Clean the Xcode project.
Build the Xcode project.
Error reason
Readme file not added
Solution
git pull --rebase origin master
So far, the problem is solved
Nacos Startup Error: nacos can not start web server;
Solution:
Because Nacos is the default cluster mode, we can change it to stand-alone mode in startup.cmd
set MODE=”standalone”
Question:
This error is reported in the project, and the wrong location cannot be located:
reason:
It’s because I want to solve the problem that the pictures with the same name in the table are not refreshed when they are cached (for example, after uploading a new picture, the original picture is still displayed on the page),
I use the timestamp as the key of the picture, for example: number (New date())
This seems to cause: when the table is refreshed, the picture is always rendering, falling into an endless loop
solve:
Original code:
<img :key="Number(new Date())" ... />
I changed the key to a global vuex variable, which can be refreshed every time the data is refreshed
New code:
<img :key="GlobalRefreshKey" ... />
Refresh in interface Interceptor:
store.dispatch('set_GlobalRefreshKey')
I won’t write the definition in vuex~
An error will be prompted when activated. The error code is 0014/0047/0048 or 0052/0053?
Solution:
First, check the system time and modify it to the correct time. Then, replace/etc/.Kyinfo and/etc/license, and activate it again after restart.
Start the Maven project in idea with jetty and report this error. I use the default port 8080,
Caused by: java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspApplicationContextImpl
Solution: 1. Change the port (I can start it by changing it to 8083). 2. Kill the occupied 8080 port and restart it
When the project in the test environment is running, check uwsgi.log. If the scheduled task does not run, check the cell_ Beat.log log shows: redis.exceptions.connectionerror: error 24 connecting to 127.0.0.1:6379. Too many open files
On the command line, enter redis to check that the data is empty and there is no data.
If the celery is restarted regularly, it can be effective for a while and cannot be stable for a long time.
Compared with the online environment, the redis version is redis cli 2.8.18 The redis version of the test environment reporting an error is 4.0.10, which is too high.
Reinstall the lower version of redis On the official website https://redis.io/ Find redis version 2.8.18 in the, extract and install it to the redis server version 2.8.18
After downloading, I uploaded the installation package to/usr/local/for installation
/Redis.conf in etc/ / In bin/is mainly mkreleasehdr.sh redis-benchmark redis-check-aof redis-cli redis-server It’s all moved by MV command,
The original location is in/usr/local/redis-2.8.18/src/ After moving, it is convenient for subsequent redis startup
Stop the old version of 4.0.10 redis and kill, and delete the corresponding directory files
Start the newly installed version 2.8.18 redis service:/usr/local/redis-2.8.18/bin/redis-server / usr/local/redis-2.8.18/etc/redis.conf
The version of redis has been reduced. Then enter the project directory to check the log. It runs normally at regular intervals. There is also data in redis
MYCAT error
2021-11-08 17:13:01,310 [ERROR][Thread-1] MyCATSequenceProcessor.executeSeq(SesionSQLPair) java.lang.RuntimeException: can't fetch sequnce in db,sequnce :CN_TASK_LOCKSET detail:null at io.mycat.route.sequence.handler.IncrSequenceMySQLHandler.getSeqValueFromDB(IncrSequenceMySQLHandler.java:125) at io.mycat.route.sequence.handler.IncrSequenceMySQLHandler.nextId(IncrSequenceMySQLHandler.java:94) at io.mycat.route.parser.druid.DruidSequenceHandler.getExecuteSql(DruidSequenceHandler.java:64) at io.mycat.route.MyCATSequnceProcessor.executeSeq(MyCATSequnceProcessor.java:85) at io.mycat.route.MyCATSequnceProcessor.access$200(MyCATSequnceProcessor.java:19) at io.mycat.route.MyCATSequnceProcessor$ExecuteThread.run(MyCATSequnceProcessor.java:110) (io.mycat.route.MyCATSequnceProcessor:MyCATSequnceProcessor.java:89)
java.lang.RuntimeException: can't fetch sequnce in db,sequnce : detail:null mycat sequnce err.java.lang.RuntimeException: can't fetch sequnce in db,sequnce : detail:null
2021-11-08 17:15:38,328 [ERROR][Thread-1] MyCATSequenceProcessor.executeSeq(SesionSQLPair) java.lang.RuntimeException: can't fetch sequnce in db,sequnce :CN_TASK_LOCKSET detail:null at io.mycat.route.sequence.handler.IncrSequenceMySQLHandler.getSeqValueFromDB(IncrSequenceMySQLHandler.java:125)
There are various explanations on the Internet, such as configuration files, functions, etc
After testing, it is found that there is another problem, that is, the version of MySQL will also cause the above problems. Using mysql8 may cause the above problems. I use mysql5 to solve the problem
Error: Java: java.lang.noclassdeffounder error: javax/validation/constraints/size
Do the following:
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.Final</version>
</dependency>
In the uploaded file, you will be prompted after reaching a certain event
Uncaught (in promise) Error: Network Error at createError
Other interfaces are normal,
After inquiry, it is said that it is cross domain, but it is impossible to report an error only in the family with large files,
It is also suspected that the setting time is too long,
However, the size of the file received at the back end is too small,