Can read file on shared drive running in Eclipse but cannot when running as a Windows 10 service

59
March 20, 2018, at 10:22 AM

I have a mapped drive letter against a remotely shared drive over a VPN:

Z: Mapped to \\<remote server>\f$\Shared

When I run my code (Maven Project) under Eclipse Oxygen, The code can read existing files on that share with no problem. (e.g., Z:\MyFiles\ABC.txt)

When I build my code into a one-jar target and deploy that as a Windows Service on Windows 10, the same file cannot be read by the code.

I suspect there needs to be some 'finessing' on the Windows 10 side, but I'm struggling to find what.

READ ALSO
Use @Gateway with Spring-Integration-Kafka

Use @Gateway with Spring-Integration-Kafka

Using Spring-Integration-Kafka can we still use @MessagingGateway and @Gateway

93
Crypto AES CFB from java to Qt throught UDP

Crypto AES CFB from java to Qt throught UDP

I have an issue, I'm developing an android app that comunicate with a Qt develop application through an UDP socket

134
Error:Could not resolve all files for configuration&#39;:app:debugCompileClasspath&#39;

Error:Could not resolve all files for configuration':app:debugCompileClasspath'

Error:Could not resolve all files for configuration ':app:debugCompileClasspath'

211
Can a local variable with an inferred type be reassigned to a different type?

Can a local variable with an inferred type be reassigned to a different type?

I remember reading somewhere that local variables with inferred types can be reassigned with values of the same type, which would make sense

93