Tuesday, May 14, 2024

[Eclipse][Resolved] Eclipse project can't save Web Project Settings Content root

 The problem is whatever you edit in Web Project Settings, after save and close the properties,  Reopen that page again, you would found the valuable you just edited haven't been saved, keep using the default value.

Edit Web Project Settings Content: 

1) In "Project Explorer" View, right click the project, and then click properties
2) Edit the content of Context root
3) Click "Apply and Close"

Clean project 

1) Server View > right click your server > select Clean 

2) wait for finished
3) Server View > right click your server > select Publish

Double Check:

1) In "Project Explorer" View, right click the project, and then click properties
2) you can find the content of Context root changed, but not using the default variable.


Reference

https://stackoverflow.com/questions/2437465/how-to-change-context-root-of-a-dynamic-web-project-in-eclipse


Monday, May 13, 2024

[SQLDeveloper][Resolved] Warning - could not install some modules

Error Message

Warning - could not install some modules: oracle.java_annotations - org.netbeans.InvalidException: Netigso: C:\Softwares\sqldeveloper\ide\lib\annotations.jar: Not found bundle:oracle.java_annotations"

Solution

Visit the directory below and you would found 2 files inside:

C:\Users\[YOUR_USERNAME]\AppData\Roaming\SQL Developer\system23.1.1.345.2114\system_cache\config\Modules

 


Delete them and restart your SQL Developer again.

Reference

https://ahmedfattah.com/2024/01/14/sql-developer-warning-could-not-install-some-modules/


Sunday, November 5, 2023

[Windows11] [Resolved] docker desktop unexpected wsl error

 


Run command prompt with Administrator permission (Run as administrator) 

and then run the command :

netsh winsock reset

And then restart the computer, the issue disappear.


Reference:

https://www.cnblogs.com/520future/p/17615780.html

Tuesday, November 22, 2022

[Resolved][Errno 48] error while attempting to bind on address ('127.0.0.1', 8000): address already in use

Error:

[Errno 48] error while attempting to bind on address ('127.0.0.1', 8000): address already in use

Method 1

run this command to get the the related process

#ps -fA | grep python 

Mark down the second number of returned results. 

#kill 1192 


Method2 

Kill all process on 8000 port: 

#kill -9 $(lsof -t -i:"8000") 


Reference:

https://stackoverflow.com/questions/34457981/trying-to-run-flask-app-gives-address-already-in-use

https://stackoverflow.com/questions/19071512/socket-error-errno-48-address-already-in-usePE4WW9ubHOASEzgiT6lDg65jIDE/edit

Wednesday, March 9, 2022

[SwiftUI][resolved] Cannot find 'landmarks' in scope



there should be NOT mistake from apple official tutorial,  go clean the derived data then the code should be works, here is the method to clean xCode derived data :

https://stackoverflow.com/questions/46468220/how-can-i-delete-derived-data-in-xcode-9/46468334#46468334