pom.xml no such file or directory - sts-springsourcetoolsuite

I've got a problem when I am building my project. I uses the springsource tools (STS) version 3.1.0 on Linux platform. After I imported my project to the STS, the springsource tools told me that "No such file or directory" at the pom.xml file. The file is actually exist in the correct path. I think the project is working fine because I've tried to import the same project with the same procedure in the other computer.
When I use console to compile the project with maven, all of them are complied successfully.
I've also tried the following but still not work:
1. reinstall the STS.
2. re-import the project.
3. create a user profile and re-import project.
4. use older version of STS (3.0.0)
I want to import the project to my computer so that I can work with.
Please suggest to resolve the problem. Thanks!

Had "No such file or directory" error on pom.xml in Eclipse Luna SR1.
Tracked it down to be caused by faulty resolution of other projects within the workspace by M2E.
So there are 2 solutions:
Either close the other project in the workspace (a dependency of the project in error).
Or disable workspace resolution by M2E on the project in error (right-click on the project, Maven --> Disable Workspace Resolution).
Obviously, if you need both projects open then option 2. is the way to go. The dependent project then takes the dependency from the local Maven repo, so to refresh it, you have to build and install the dependency into the local repo (mvn install).

I have the same issue. Still didn't find any smart solution, but this sometimes works for me:
Close eclipse
Go to console and do a maven clean install with update flag "mvn clean install -U"
Reboot the computer (logging out and back in didn't help)
Start eclipse and refresh and rebuild your projects

Related

New project xamarin.form prism Error NETSDK1004 - Prism 2.2.1

when generating a new project xamarin.form prism I get this error when running. With the previous version 2.1.7 it worked for me OK.
It does not allow me to open the Nuget Package since it also gives an error.
Any recommendation?
I saw the 2 posts of this error but they do not apply to me.
Error NETSDK1004 Assets file 'C:\Empresas\Job_Facu\Job\Job.Prism\Job.Prism\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. Job.Prism C:\Program Files\dotnet\sdk\3.1.202\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets 234
The error tells you what to do. Run a NuGet restore. Visual Studio should help you do this automatically. Note that if this occurred after updating dependencies sometimes Visual Studio gets confused and it's best to close Visual Studio and reopen it. This usually gets it to refresh itself so you get the updated package restore.
If that's not working for you, you can download the latest nuget.exe and from the command line navigate to the solution directory and execute the command {path to nuget.exe} restore.
When NuGet performs a restore it generates the project.assets.json file in the obj folder of each project it has restored. This in turn provides MSBuild with the reference information it needs to properly reference your dependencies like Prism and Xamarin.Forms.
I have recently ran into similar issue as well, seemingly out of the blue. I believe upgrading my build machine to the latest VS version (VS for Mac 8.10.4 (build 11))
NETSDK1004: */project.assets.json' not found. Run a NuGet package restore to generate this file.
To fix, I had to run Nuget Restore twice. Once for the shared project directory and once for the iOS project.
If I run the restore just for the Shared/(main.sln file) project directory I get the error.
If I run the restore for the iOS project the build passes but IPA file isn't created.
Need to run both.
Modules used for CI/CD build in Azure Devops Pipeline

Installing Papyros QML Material plugin in Qt Linux

I'm trying to install qml-material plugin from papyros in my Qt. I have completed these steps so far
Cloned qml-material repo from here
opened "qml-material.pro" file in repository's root directory in Qt Creator
Built the project in release. It created "libmaterial.so" and similar files in the build directory.
In the build directory executed "make install"
After this step I don't know what to do. Please correct me if I have done something wrong and guide me what do I do next in order to use this plugin in a project.

gulp-inject not working in asp.net core project

So I've been working on a asp.net core project and trying to inject scripts using the gulp-inject package. but when I try to use the gulp-inject module in gulpfile.js it throws this error in task-runner window. what am I missing here?
gulp-inject in package.json
task-runner error
This is a known issue. You need to upgrade your version of NodeJS to v4.
To see your version, open a command prompt and run:
node --version
To upgrade, go to https://nodejs.org and find the downloads or look at How do I update node and npm on windows?
If you're using Visual Studio 2015, also check the version of NodeJS that it is using. Options > Projects and Solutions > External Web Tools shows the locations. From there either:
add C:\Program Files\nodejs as the new top entry, or
move the $(PATH) to the top if it is already up-to-date.

Build and Install clRNG

For a project i need Random Numbers in an OpenCL Kernel. I found the clRNG library which is exactly what i need.
https://github.com/clMathLibraries/clRNG
But i have some trouble with installing it. I follows the Installation intructions on Github for the install with VisualStudio. I comiled the files with Cmake and got a clRNG.sln File. I can open this file with visual studio but i dont know whats the next step.
It would be great if someone could give me a detaild step-by-step guide for installing the library.
Thanks a lot.
Maybe you figured this out by yourself already, but here is the guide anyhow:
Build the ALL_BUILD project, either by going to Build -> Build Solution or right-clicking ALL_BUILD in the Solution Explorer and selecting Build.
Build the INSTALL project under CMakePredefinedTargets in the Solution Explorer by right-clicking on it and selecting Build.
Now all the needed files should be in the package folder inside the solution folder.
To use the library in a VS project, you need to the project properties and adding the clRNG include folder in the project Include Directories and the lib/import folder in the project Library Directories. You can find the settings by going to the project properties and selecting Configuration Properties -> VC++ Directories.

SBT - Unable to save file on Windows 7

I'm running a lift web app using sbt. After I run the following command - container:start and modify any css files and save them I get the message that "The file is opened in another program". I checked the process and SBT is keeping the file open. When I exit the SBT I'm able to save the file. I've no idea why this is happening. Am I missing out with any settings?
I used MSI installer from SBT download page to install SBT. I tried using different editors but same problem persist. Is there a problem with SBT?

Resources