Class winsw.Plugins.SharedDirectoryMapper.SharedDirectoryMapper does not exist
See original GitHub issueSummary.
start syncthing.exe
Error message for program startup
2021-02-25 19:04:56,600 INFO - Starting syncthing
2021-02-25 19:04:56,614 ERROR - Failed to start service.
WinSW.Extensions.ExtensionException: mapNetworkDirs: Cannot load the class by name: winsw.Plugins.SharedDirectoryMapper.SharedDirectoryMapper
---> WinSW.Extensions.ExtensionException: mapNetworkDirs: Class winsw.Plugins.SharedDirectoryMapper.SharedDirectoryMapper does not exist
at WinSW.Extensions.WinSWExtensionManager.CreateExtensionInstance(String id, String className)
--- End of inner exception stack trace ---
at WinSW.Extensions.WinSWExtensionManager.CreateExtensionInstance(String id, String className)
at WinSW.Extensions.WinSWExtensionManager.LoadExtension(String id)
at WinSW.Extensions.WinSWExtensionManager.LoadExtensions()
at WinSW.WrapperService.DoStart()
at WinSW.WrapperService.OnStart(String[] args)
2021-02-25 19:04:57,649 FATAL - Failed to start the service.
<extensions>
<extension enabled="true" className="winsw.Plugins.SharedDirectoryMapper.SharedDirectoryMapper" id="mapNetworkDirs">
<mapping>
<map enabled="false" label="N:" uncpath="\\UNC"/>
<map enabled="false" label="M:" uncpath="\\UNC2"/>
</mapping>
</extension>
</extensions>
Environment
- WinSW version: v3.0.0-alpha.7
- WinSW package type: WinSW-x64.exe
- Windows version: windows10 20H2
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Issue #319 · Issue #551 · winsw/winsw
I am accessing Ubuntu share path, from java code path is accessed fine but when I create service error is comming. need help,...
Read more >Developers - Class winsw.Plugins.SharedDirectoryMapper ...
Plugins.SharedDirectoryMapper.SharedDirectoryMapper does not exist at WinSW.Extensions.WinSWExtensionManager.CreateExtensionInstance(String id, ...
Read more >winsw
winsw. A wrapper executable that can be used to host any executable as an ... Plugins.SharedDirectoryMapper.SharedDirectoryMapper does not exist at WinSW.
Read more >Windows Service Wrapper : YAML Configuration Support
In this project, I will update WinSW to validate configurations at the startup. It is not implemented yet and will be in phase...
Read more >Jenkins Windows Slave setup using Winsw not working
There are some errors in the sample "Jenkins-Slave.xml" that is presented at the linked web page (which yours is apparently based on).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @fbigun ,
I am facing the same issue using WinSW-x64.exe on Windows 10 Version 20H2 using WinSW v2.11.0, have you managed to solve the problem?
Thank you.
className="WinSW.Plugins.RunawayProcessKillerExtension,WinSW.Plugins"
worked. I think it is due to the fact that the assembly in which the pulgin exists is different in ILMerge and PublishSingleFile.