Missing project reference "resources" for solution

I haven’t been in my solution for about a week and for some reason I am now getting the build error: Missing project reference “resources” for solution.

The resources folder exists but wasn’t showing up in the “Change resources project” option. I renamed the resources, created a new one, and then copied the datasources, security, workingsets folders along with the placedataprovider.preferences and repository_settings.obj files from the old folder to the new resources folder. Now my databases and security (Users and Permissions) look good, and if I ignore the build error it seems to run fine.

How do I fix the build error so it recognizes the resources project?

Servoy version 2025.12.1.4123

Hi Louis,

Not sure if this will work but I have experienced similar issues in the past when switching between older branches.

Give the following a try:

  • Go to Project Explorer
  • Right click your resources dir and delete
  • Re-import the directory by going FileImportGit/Projects from GitExisting local repository then selecting your resources dir again from the list

Hope that helps!

Cheers,

Alex.

Hi Alex,

Thanks for the suggestion. Unfortunately the project isn’t showing up in the Project Explorer.

I tried creating a new workspace to start over and when I try adding the svyProperties or svySecurity modules I get the following message, followed by the same error if I select Yes or No.

Have you (or anyone else) ever seen this before? If so, how do I resolve it?

Just to confirm, the project isn’t showing up in Project Explorer → you then tried to import it from git right? Does the directory also not show in that import window? If that is the case then can you confirm in your file explorer/terminal the /resources directory is part of your git repo?

Regarding the .dbi file error you’re facing, I haven’t seen this specific error before. But it would make sense it is erroring because it is trying to invoke a method at org.eclipse.core.resources, which your workspace cannot currently see.

The resources directory has always been in the workspace folder, which I do not have in my git repo, which is probably why it doesn’t show up in the Project Explorer.

This morning I restored my Servoy (Developer/Eclipse) and workspace folders from the last backup when they were working. The resources project is still messed up. Now, I am getting build errors indicating that the table was deleted but calculations/aggregations still exist. The Test Connection on the db is successful, but if I open any table it only shows the fields, no events, calculations, etc. The Users and Permissions editor won’t open either.

Also, when I try to change the resources project, no existing project is selected, and when I select Create new, it says it already exists.

I have all my source code but I’m not even sure how to start over from scratch with the Servoy Developer since I figured restoring my backup would have done that already.

Louis

Update (the developer is almost working again):

I uninstalled the Servoy Developer and re-installed it. Then restored the Postgres database, custom jar files, and created a new resources folder.

The developer is now working with the exception of the Users and Permissions. Does anyone know how to get the developer to read the [workspace]\resources\security\security.sec file? I restored the file with my permissions and it doesn’t read it. And even if I remove the file and simply add a User and Permission and save it, no security.sec file is created.

Last update:

I’m still not sure what started the chain of events but after uninstalling and re-installing the Servoy Developer, restoring a few custom .jar and other files, and then editing a few of the [form].sec files to remove a group/permission that was not in the security.sec file, I no longer have any build errors.

Somehow I had both a User and Users group in some of the form .sec files, but only the Users group setup. This seemed to cause a ripple effect of errors.

Phew, back to developing…

1 Like

Pleased you got it fixed!