07-07-2024 10:26 PM
Hi Team,
I developing custom snap. I am using account type is custom. so now i am written my logic and deployed to snapLogic now i am getting error like below.
"Unable to load account definition, Reason: Account named "snap" does not exist, Resolution: Update the account for this snap".
Please help in this if anyone knows the solution.
Solved! Go to Solution.
07-10-2024 09:24 AM
@maheswara If you are using Windows for development, check this: post https://community.snaplogic.com/t5/developing-snaps/developing-snaps-on-windows-via-wsl/m-p/26326/hi...
07-08-2024 09:42 PM
@maheswara Please check if you have defined the absolute path of the account classes in pom.xml.
Additionally, in the Snap class, check if the account has been added using the @Accounts annotation, as shown below.
07-08-2024 09:47 PM
Hi @svatada,
Yes I am doing same thing but facing issue. and one more thing is even if I modified the code and deploying new code. The code is change but the output is showing only previous output. I am not able to find the issue. is it issue with snaplex? Because different snaplexes showing different error based on previous output errors.
Could you please help me on this ?
07-09-2024 07:50 AM
@maheswara Regarding this issue "one more thing is even if I modified the code and deploying new code. The code is change but the output is showing only previous output", while doing mvn clean install, add an extra parameter called -Dsl_build=<UniqueName>. You should give different build name every time you build.
mvn clean install -Dsl_build=<UniqueName>
07-10-2024 09:24 AM
@maheswara If you are using Windows for development, check this: post https://community.snaplogic.com/t5/developing-snaps/developing-snaps-on-windows-via-wsl/m-p/26326/hi...