Erro when trying to deploy fat Jar on Heroku - heroku

I'm trying to deploy a Fat Jar on heroku, and heroku keeps give me following erro code. It looks like that I have got the Path wrong, but after I double checked it, It should be correckt position of my Picture My commands and erro code

You're in a different directory in your terminal than you are in the File Explorer. From your terminal, you can run dir to get a list of all files in the current directory. You want to upload the file Testbot.jar, but it's actually at out/artifacts/Testbot_jar/Testbot.jar.
In your terminal, run
cd Testbot_jar
and then run
dir
and you should see the file there.
Volume in drive C has no label.
Volume Serial Number is B86A-EF32
Directory of C:\Users\Dingda\IdeaProjects\Testbot\out\artifacts\Testbot_jar
03/22/2021 01:40 PM <DIR> .
03/22/2021 01:40 PM <DIR> ..
03/22/2021 11:05 AM 123 Testbot.jar
Double-check that you can see Testbot.jar and then run your command again and you should be good to go.

Related

Symlink in Laravel current release folder from external folder

I am using zero downtime deployment for Laravel and I have a folder which is updated regularly with weather files.
The folder structure is like:
releases/1 - where the current release is.
current/ - linked to /releases/1 and this is where Apache server root is.
public/weather - this is the folder where weather files are stored (via ftp process).
Can I use symlink on public/weather -> /current/public/weather?
Command I try to use:
ln -nfs --relative /var/www/html/public/weather /var/www/html/current/public/weather
the command appears to work, however I can not see it linked with ls -al.
If I try:
ln /var/www/html/public/weather /var/www/html/current/public/weather
I get this error.
ln: /var/www/html/public/wdisplay: hard link not allowed for directory
Thank you

unable to prepare context: unable to evaluate symlinks in context path: EvalSymlinks: too many links error when installing libacvp on windows

I've been trying to use cisco's libacvp on my windows (10, 64 bit) computer for some time now. I have installed OpenSSL 1.1.1g and Docker (19.03.12).
While trying to run docker build -t libacvp_w_openssl111 . in cmd I've been getting the error unable to prepare context: unable to evaluate symlinks in context path: EvalSymlinks: too many links.
I looked through this post (which seemed to get a lot of attention) but the only solution that was found there was to check that the Dockerfile was in the correct directory (also relative to the current directory from cmd), with no file extension and capitalized correctly, which it was. Beyond that - no help.
Any thoughts?
Thanks
It looks you're executing docker build in a folder that has a lot of symlinks, some of them which are pointing out of current dir (unable to prepare context error message)
Try creating a new empty folder, copy Dockerfile there and execute again your docker build -t libacvp_w_openssl111 .
I had exactly the same problem but in my case it was a matter of long path where the Dockerfile was sitting. When I moved it to root folder of another drive it worked like a charm.

Getting Oracle 12 C Installation Error File Not Found

I have downloaded two zip files of Oracle 12 C.
I have extracted and trying installing it on Windows 10 64 Bit.
winx64_12102_database_1of2
winx64_12102_database_2of2
Setup is available in folder one running the same from there.
Every time I am getting below error
The solution to this Error is simply when you are unzipping the folders unzip at one common folder as i have done
You will find components folders as shown below
D:\softwares\12coracle\winx64_12102_database_1of2\database\Components
D:\softwares\12coracle\winx64_12102_database_2of2\database\stage\Components
Please try to read the log details as shown in screenshot above,its showing the path where installation log are being created. The location was C:\Program Files\Oracle\Inventory\logs \installActions2016-01-26_01-50-16AM.
After going through the logs i found that,In my case it was not able to find the files at below path during the installation
D:\softwares\12coracle\winx64_12102_database_1of2\database\stage\Components\oracle.rdbms\12.1.0.2.0\1\DataFiles
Because there was other unzipped part as shown below and it was unable to get the files at abovepath Hence i copied all the file from below path to the above path location
D:\softwares\12coracle\winx64_12102_database_2of2\database\stage\Components\oracle.rdbms\12.1.0.2.0\1\DataFiles
I ran the whole installation again and folks it completed in overall 55 mins the overall installation with the plugable and container database configuration itself.
Follow the below steps:
Abort the current installer.
Navigate to second folder /database/stage/Components/ and copy all the files.
Paste all the files in first folder location /database/stage/Components/
Finally , run the setup.exe as administrator

Jenkins Blue Ocean ./gradlew: No such file or directory

I am having trouble getting Blue Ocean to recognize where my default gradle folder is on my Mac OSX. I have GRADLE_HOME set to /opt/gradle.
I keep getting the following error message when running my shell script ./gradlew assembleDebug:
/Users/me/.jenkins/workspace/project#tmp/durable-d97717dc/script.sh:
line 2: ./gradlew: No such file or directory
script returned exit code 1
I could see two reasons for that error:
Your script is not executed in the folder where your gradlew lays.
The gradlew has not set the correct permissions set for the calling user.
Adding a check for existing and the correct permissions on the file to execute could help you to sort these problems out.

why am I getting No such file or directory message while running a command in linux

I am testing an application by starting certain commands in sequence. During which for one of the command when I get into the directory and run it it works where as when I run directly it gives No such file or directory
cd /opt/abc/ then running gulp serve will work
Where as when I run directly - /opt/abc/gulp serve it fails
Attached is the snapshot of the same.
enter image description here
You are thinking that PWD is in your PATH, which as root it should not be (I personally don't think it should be for any user, but definitely not the super user).
So, when you type in "gulp serve" it's checking your path and finding "gulp". If you type which gulp you can see where it finds it. When you type the path to gulp, it is not finding an executable there. So-- that's not the one you want, and if there is a file called gulp there it is not executable.

Resources