compilation failed during build MDA

0
Hello,   I face with a problem during publishing my (free version) app to the cloud.   What i tried: 1. Running the App locally works. 2. Create deployment package works.   Latest build output says: Pipeline created at 2024-04-08T14:17:20Z [teamserver-discovery] 2024-04-08T14:17:24.685690441Z Project: d996ad81-6b07-4c19-a76e-3e768517f48b [teamserver-discovery] 2024-04-08T14:17:24.685732968Z Determining repository type... [teamserver-discovery] 2024-04-08T14:17:24.896072158Z Found type: git [teamserver-discovery] 2024-04-08T14:17:24.897737354Z Found URL: https://git.api.mendix.com/d996ad81-6b07-4c19-a76e-3e768517f48b.git [teamserver-checkout] 2024-04-08T14:17:43.010056366Z Project: d996ad81-6b07-4c19-a76e-3e768517f48b [teamserver-checkout] 2024-04-08T14:17:43.010061402Z Branch: main [teamserver-checkout] 2024-04-08T14:17:43.010065294Z Revision: d15a0366834998a995aeeea34c234ce28d1b40f2 [teamserver-checkout] 2024-04-08T14:17:43.010073268Z Getting temporary access URL... [teamserver-checkout] 2024-04-08T14:18:19.015815401Z Cloning repository... [teamserver-checkout] 2024-04-08T14:18:22.110489825Z Checked out revision d15a0366834998a995aeeea34c234ce28d1b40f2 [teamserver-checkout] 2024-04-08T14:18:23.101252867Z Finding MPR file... [teamserver-checkout] 2024-04-08T14:18:23.148156283Z Found: /workspace/build/source/evoBadge.mpr [teamserver-checkout] 2024-04-08T14:18:23.151095263Z Mendix version: 10.9.0.31759 [compile] 2024-04-08T14:18:33.197814709Z [compile] 2024-04-08T14:18:33.197842682Z __ __ ____ _ _ _ [compile] 2024-04-08T14:18:33.197846355Z | \/ | | _ \ (_) | | | [compile] 2024-04-08T14:18:33.197849242Z | \ / |_ _| |_) |_ _ _| | __| | [compile] 2024-04-08T14:18:33.197851789Z | |\/| \ \/ / _ <| | | | | |/ _` | [compile] 2024-04-08T14:18:33.197854353Z | | | |> <| |_) | |_| | | | (_| | [compile] 2024-04-08T14:18:33.197857399Z |_| |_/_/\_\____/ \__,_|_|_|\__,_| [compile] 2024-04-08T14:18:33.197871434Z [compile] 2024-04-08T14:18:33.329640566Z v10.9.0.31759 [compile] 2024-04-08T14:18:33.329669330Z [compile] 2024-04-08T14:18:36.363802329Z Starting build for Mendix Project file: /workspace/build/source/evoBadge.mpr [compile] 2024-04-08T14:18:36.364684825Z Using the following options: [compile] 2024-04-08T14:18:36.364706104Z * Build target: Package [compile] 2024-04-08T14:18:36.364711631Z * Deployment package file: /workspace/build/dist/57dbf3d2-abdc-4336-92a0-ed3378d932a9.mda [compile] 2024-04-08T14:18:36.364715304Z * Model version: 1.0.0.d15a0366 [compile] 2024-04-08T14:18:36.364719203Z * Model description: Automatically generated deployment package for Free App deployment. [compile] 2024-04-08T14:18:36.364723091Z Reading project file... [compile] 2024-04-08T14:18:37.564771194Z Building project... [compile] 2024-04-08T14:18:37.578823547Z 2024-04-08 14:18:37.5707 ERROR Mendix.Modeler.Internationalization.LocalizationProvider Translation catalog was not initialized [compile] 2024-04-08T14:18:37.581483132Z Executing step 'Synchronize with file system' [compile] 2024-04-08T14:18:37.581666667Z 2024-04-08 14:18:37.5816 ERROR Mendix.Modeler.Internationalization.LocalizationProvider Translation catalog was not initialized [compile] 2024-04-08T14:18:37.581788780Z * Synchronizing with file system... [compile] 2024-04-08T14:18:38.716830574Z Executing step 'Initialize' [compile] 2024-04-08T14:18:38.741580898Z * Preparing deployment... [compile] 2024-04-08T14:18:38.787716463Z Executing step 'Check prerequisites' [compile] 2024-04-08T14:18:38.788012299Z * Checking for errors... [compile] 2024-04-08T14:18:40.656749081Z Executing step 'Clean deployment directory' [compile] 2024-04-08T14:18:40.656892296Z * Cleaning deployment directory... [compile] 2024-04-08T14:18:50.850258639Z * Cleaning ml deployment directory... [compile] 2024-04-08T14:18:50.850579215Z * Cleaning web deployment directory... [compile] 2024-04-08T14:18:50.850708000Z * Cleaning source web deployment directory... [compile] 2024-04-08T14:18:50.850843714Z Executing step 'Perform model transformations' [compile] 2024-04-08T14:18:50.855612503Z * Applying model transformations... [compile] 2024-04-08T14:18:50.885216445Z Executing step 'Generate deployment files' [compile] 2024-04-08T14:18:50.886268977Z * Writing files... [compile] 2024-04-08T14:18:55.152208368Z Executing step 'Prepare deployment' [compile] 2024-04-08T14:18:55.152696284Z * Generating styles for icons [compile] 2024-04-08T14:18:55.160986112Z * Cleaning web deployment directory... [compile] 2024-04-08T14:18:55.239202549Z Executing step 'Build deployment structure' [compile] 2024-04-08T14:18:55.265167948Z * Exporting ml models to ml deployment directory... [compile] 2024-04-08T14:18:55.270141212Z * Compiling theme files... [compile] 2024-04-08T14:18:55.274019998Z * Exporting a theme... [compile] 2024-04-08T14:18:55.725596950Z * Generating font files for icons [compile] 2024-04-08T14:18:55.726609174Z * Exporting pages... [compile] 2024-04-08T14:18:55.967933659Z * Exporting metadata... [compile] 2024-04-08T14:18:55.969425113Z * Exporting microflows model... [compile] 2024-04-08T14:18:56.046343864Z * Exporting custom widgets... [compile] 2024-04-08T14:18:56.093570821Z * Bundling custom widgets... [compile] 2024-04-08T14:19:02.490536955Z Executing step 'Save model to deployment directory' [compile] 2024-04-08T14:19:02.490671589Z * Saving model to deployment directory... [compile] 2024-04-08T14:19:02.694177014Z Executing step 'Finalize deployment structure' [compile] 2024-04-08T14:19:02.695174883Z * Post-processing generation results... [compile] 2024-04-08T14:19:02.703396508Z Executing step 'Bundle application' [compile] 2024-04-08T14:19:02.706845092Z * Compiling Java... [compile] 2024-04-08T14:19:07.307594974Z Executing step 'Clean up' [compile] 2024-04-08T14:19:07.307751574Z * Cleaning up... [compile] 2024-04-08T14:19:07.336504464Z ERROR: An error occurred while compiling Java actions [compile] 2024-04-08T14:19:07.336546291Z /workspace/build/source/javasource/databaseconnector/impl/JdbcConnectionManager.java:6: error: package com.zaxxer.hikari does not exist [compile] 2024-04-08T14:19:07.336550681Z import com.zaxxer.hikari.HikariDataSource; [compile] 2024-04-08T14:19:07.336554141Z ^ [compile] 2024-04-08T14:19:07.336558741Z /workspace/build/source/javasource/databaseconnector/impl/JdbcConnectionManager.java:31: error: cannot find symbol [compile] 2024-04-08T14:19:07.336563001Z private final Map<Integer, HikariDataSource> connectionPool = new ConcurrentHashMap<>(); [compile] 2024-04-08T14:19:07.336567541Z ^ [compile] 2024-04-08T14:19:07.336575208Z symbol: class HikariDataSource [compile] 2024-04-08T14:19:07.336579185Z location: class JdbcConnectionManager [compile] 2024-04-08T14:19:07.336583056Z /workspace/build/source/javasource/databaseconnector/impl/JdbcConnectionManager.java:96: error: cannot find symbol [compile] 2024-04-08T14:19:07.336586798Z private HikariDataSource createHikariDataSource(final String jdbcUrl, final String userName, final String password, [compile] 2024-04-08T14:19:07.336590622Z ^ [compile] 2024-04-08T14:19:07.336594450Z symbol: class HikariDataSource [compile] 2024-04-08T14:19:07.336598216Z location: class JdbcConnectionManager [compile] 2024-04-08T14:19:07.336600772Z /workspace/build/source/javasource/databaseconnector/impl/JdbcConnectionManager.java:49: error: cannot find symbol [compile] 2024-04-08T14:19:07.336603370Z final HikariDataSource dataSource = connectionPool.computeIfAbsent(connPoolKey, k -> { [compile] 2024-04-08T14:19:07.336606662Z ^ [compile] 2024-04-08T14:19:07.336609188Z symbol: class HikariDataSource [compile] 2024-04-08T14:19:07.336612174Z location: class JdbcConnectionManager [compile] 2024-04-08T14:19:07.336614721Z /workspace/build/source/javasource/databaseconnector/impl/JdbcConnectionManager.java:98: error: cannot find symbol [compile] 2024-04-08T14:19:07.336617199Z final HikariDataSource dataSource = new HikariDataSource(); [compile] 2024-04-08T14:19:07.336619931Z ^ [compile] 2024-04-08T14:19:07.336622355Z symbol: class HikariDataSource [compile] 2024-04-08T14:19:07.336624762Z location: class JdbcConnectionManager [compile] 2024-04-08T14:19:07.336627214Z /workspace/build/source/javasource/databaseconnector/impl/JdbcConnectionManager.java:98: error: cannot find symbol [compile] 2024-04-08T14:19:07.336639492Z final HikariDataSource dataSource = new HikariDataSource(); [compile] 2024-04-08T14:19:07.336642279Z ^ [compile] 2024-04-08T14:19:07.336644747Z symbol: class HikariDataSource [compile] 2024-04-08T14:19:07.336647163Z location: class JdbcConnectionManager [compile] 2024-04-08T14:19:07.336649571Z Note: Some input files use or override a deprecated API. [compile] 2024-04-08T14:19:07.336651986Z Note: Recompile with -Xlint:deprecation for details. [compile] 2024-04-08T14:19:07.336654597Z 6 errors [compile] 2024-04-08T14:19:07.336657326Z [compile] 2024-04-08T14:19:07.336671256Z FAILURE: Build failed with an exception. [compile] 2024-04-08T14:19:07.336674895Z [compile] 2024-04-08T14:19:07.336678809Z * What went wrong: [compile] 2024-04-08T14:19:07.336681313Z Execution failed for task ':compile'. [compile] 2024-04-08T14:19:07.336683798Z > Compilation failed; see the compiler error output for details. [compile] 2024-04-08T14:19:07.336686031Z [compile] 2024-04-08T14:19:07.336688472Z * Try: [compile] 2024-04-08T14:19:07.336690940Z > Run with --stacktrace option to get the stack trace. [compile] 2024-04-08T14:19:07.336693432Z > Run with --debug option to get more log output. [compile] 2024-04-08T14:19:07.336695799Z > Run with --scan to get full insights. [compile] 2024-04-08T14:19:07.336698062Z [compile] 2024-04-08T14:19:07.336700489Z * Get more help at https://help.gradle.org [compile] 2024-04-08T14:19:07.336702759Z [compile] 2024-04-08T14:19:07.336705232Z BUILD FAILED in 4s [compile] 2024-04-08T14:19:07.336707541Z [compile] 2024-04-08T14:19:07.336709769Z [compile] 2024-04-08T14:19:07.337232051Z BUILD FAILED Close
asked
1 answers
0

CLean you deployment folder first and then try to take the Deployment package. This should make it to work

answered