Using IntelliJ I created directory called JSP and I ran it in browser using Tomcat.
It was all good until I decided to rename the directory to jsp.
Now, the url only recognizes /JSP/index.jsp
How can I make it to actually go to /jsp/index.jsp
I am not sure what happened, since JSP folder desn't exist any more ...
It sometimes happens with the build not being done completely , Try a clean and build .
Also re-deploy the app in the server. if the samething persists refresh the project
Related
I used jetstream laravel authentication and I used npm run dev and keep it running on my cmd while I developed my project locally. Everything was OK till here. But now I want to upload on a shared hosting. And I got it that I need to run npm run build now. I have run it locally and uploaded the files but my ui of my project has been all scattered and misplaced. So I know I have missed a/some steps. What really have I missed out or have wrongly done.I am stuck now.
Regarding my web hosting ,I have my project files outside the public_html. All the public files are moved in this folder public_html.My database and my application working fine except the ui is messy.
I have find out a way but still do not know whether it is the best solution or proper one.
What actually the scenario is that the build folder of the npm run dev is folder project_folder/public/build but I have my project files outside the public_html folder. So it was unable to find the manifest.json in the folder project_folder/public/build. It was not working ,the UI is very ugly. Then, I put only the manifest.json in project_folder/public/build but the app.####.cs and app.###.js is kept in the public_html/build/assets. And now it is working fine. Hope this help someone like me, even though it might not be the right approach.
while I'm doing my spring project, I got this error message
**log4j:ERROR Could not parse url [file:/Users/gim/내폴더/Workspaces/Workspace_final/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/fogams/WEB-INF/classes/log4j.xml].**
so I immediately changed the directory which was named to Korean.
(and it made me to lose all the Workspace that I was working on..so foolish.
but I've re-built it through gitHub)
and now my Workspace directory is
/Users/gim/myfolder/Workspaces/Workspace_final/
but I still get the same exact error.
so I've tried cleaning server, updating maven project...and never worked.
please help me to find the problem.. thanks
Wich IDE are you using?! For intellij, you'll need to download sources and reload your project
It was kind of mac system error. when I searched,
people said I need to switch the system country, and then
switch it back to my country.
so I did that and re-opened the Eclipse and it worked!
I'd like to completely remove an old Laravel application that I upload as a test version of my AWS Instance. I'd like to upload a newer fresh updated version of that application so I'd like to -safely- remove old one and upload the new one.
I'd like to avoid -if possible- deploy a new instance so I don't have to install and configure all once again.
Application path is var/www/.
Should I just simply delete with terminal all files within this path and upload the new one in this path? Or there is a better practice for this purpose?
Thanks all,
Fernando
The correct way of removing a Laravel project is just removing the directory that contains the desired project. So basically you could just remove the old project and deploy the new one and it should work!
you can delete your project with rm -rf your_project_path command
I am investigating some problems in a deployed liferay theme, I am not able to find the _diffs folder there, so
1-is it always removed when deploying or the deployment manager did something wrong or it's the developers's decision ?
2-Is there any consequences to its absence # run time if the code inside it is already copied to the folders under WEB-INF ?
The _diffs folder is no longer needed after the build process.
I'm developing a project with Yii2 in Eclipse IDE. Accidentally I deleted the Yii2 folder under vendor/yiisoft. But still my application works like a charme and it doesn't throw any exceptions. I used Composer installing http://www.yiiframework.com/extension/yii2-improved-basic-template/. The file Vendor/composer/autoload_psr4.php returns an array that includes
'yii\\' => array($vendorDir . '/yiisoft/yii2')
Can anyone tell me where it includes the yii2 framework files from?
It might be using the files from cache. Try flushing all your cache and if it still works. I doubt that it'll :P
I finally resolved the problem by cloning the project to another folder and then copying back all files to the original folder. I still haven't got a clue why this strange behavior occured (every cache I know about was flushed). However, now it works as it should. Thanks for your help.