Email Connector Java action compilation Error

1
Hi Team,   I have imported EmailConnector(mendix v9.12.0) into my application and I have updated encryption and mxmodel reflection, while compiling i am getting below error can someone suggest how to resolve the issue? Buildfile: D:\practice\GF Application-EmailConnector_May23_Rev1176\deployment\build_core.xml   compile:     [javac] Compiling 664 source files to ..\deployment\run\bin     [javac] Processing annotations     [javac] Annotations processed     [javac] Processing annotations     [javac] No elements to process     [javac] ..\javasource\emailconnector\actions\CalculateIncomingAccountMetrics.java:16: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.ENUM_IncomingProtocol;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\CalculateIncomingAccountMetrics.java:17: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.EmailAccount;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\CalculateIncomingAccountMetrics.java:18: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.IncomingEmailConfiguration;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\CalculateOutgoingAccountMetrics.java:16: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.ENUM_OutgoingProtocol;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\CalculateOutgoingAccountMetrics.java:17: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.EmailAccount;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\CalculateOutgoingAccountMetrics.java:18: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.OutgoingEmailConfiguration;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\CheckServerConnection.java:23: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.IncomingEmailConfiguration;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\CheckServerConnection.java:24: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.OutgoingEmailConfiguration;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\CheckServerConnection.java:25: error: package email_connector.proxies.constants does not exist     [javac] import email_connector.proxies.constants.Constants;     [javac]                                         ^     [javac] ..\javasource\emailconnector\implementation\Commons.java:7: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.ENUM_AttachmentPosition;     [javac]                               ^     [javac] ..\javasource\emailconnector\implementation\Commons.java:8: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.ENUM_IncomingProtocol;     [javac]                               ^     [javac] ..\javasource\emailconnector\implementation\Commons.java:9: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.ENUM_MessageHandling;     [javac]                               ^     [javac] ..\javasource\emailconnector\implementation\Commons.java:16: error: package email_connector.proxies does not exist     [javac]     public static Protocol getProtocol(email_connector.proxies.ENUM_IncomingProtocol protocol) throws EmailConnectorException {     [javac]                                                               ^     [javac] ..\javasource\emailconnector\implementation\Commons.java:29: error: cannot find symbol     [javac]     public static ENUM_IncomingProtocol getIncomingProxyProtocol(Protocol protocol) throws EmailConnectorException {     [javac]                   ^     [javac]   symbol:   class ENUM_IncomingProtocol     [javac]   location: class Commons     [javac] ..\javasource\emailconnector\implementation\Commons.java:42: error: cannot find symbol     [javac]     public static ENUM_AttachmentPosition getPosition(String attachmentPosition) throws EmailConnectorException {     [javac]                   ^     [javac]   symbol:   class ENUM_AttachmentPosition     [javac]   location: class Commons     [javac] ..\javasource\emailconnector\implementation\Commons.java:51: error: cannot find symbol     [javac]     public static String getHandling(ENUM_MessageHandling messageHandling) throws EmailConnectorException {     [javac]                                      ^     [javac]   symbol:   class ENUM_MessageHandling     [javac]   location: class Commons     [javac] ..\javasource\emailconnector\implementation\Commons.java:62: error: package email_connector.proxies does not exist     [javac]     public static FetchStrategy getFetchStrategy(email_connector.proxies.ENUM_FetchStrategy fetchStrategy) throws EmailConnectorException {     [javac]                                                                         ^     [javac] ..\javasource\emailconnector\actions\GetBaseDNList.java:19: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.LDAPBaseDN;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\GetFolderNames.java:20: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.Folder;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\SendEmail.java:23: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.Attachment;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\SendEmail.java:24: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.LDAPConfiguration;     [javac]                               ^     [javac] ..\javasource\emailconnector\actions\SendEmail.java:25: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.Pk12Certificate;     [javac]                               ^     [javac]..\javasource\emailconnector\actions\SendEmail.java:97: error: cannot find symbol     [javac]     private Pk12Certificate getPk12Certificate() throws EmailConnectorException {     [javac]             ^     [javac]   symbol:   class Pk12Certificate     [javac]   location: class SendEmail     [javac] ..\javasource\emailconnector\actions\SendEmail.java:113: error: cannot find symbol     [javac]     private LDAPConfiguration getLdapConfiguration() throws EmailConnectorException {     [javac]             ^     [javac]   symbol:   class LDAPConfiguration     [javac]   location: class SendEmail     [javac] ..\javasource\emailconnector\implementation\EmailListener.java:12: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.EmailAccount;     [javac]                               ^     [javac] ..\javasource\emailconnector\implementation\EmailListener.java:13: error: package email_connector.proxies.constants does not exist     [javac] import email_connector.proxies.constants.Constants;     [javac]                                         ^     [javac] ..\javasource\emailconnector\implementation\EmailListener.java:27: error: cannot find symbol     [javac]     private final EmailAccount emailAccount;     [javac]                   ^     [javac]   symbol:   class EmailAccount     [javac]   location: class EmailListener     [javac] ..\javasource\emailconnector\implementation\EmailListener.java:29: error: cannot find symbol     [javac]     public EmailListener(String batchReceivedMicroflow, String batchCompleteMicroflow, String batchFailedMicroflow, EmailAccount mxEmailAccount) {     [javac]                                                                                                                     ^     [javac]   symbol:   class EmailAccount     [javac]   location: class EmailListener     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:31: error: cannot find symbol     [javac]     public static List<IMendixObject> mapEmails(EmailAccount mxEmailAccount, List<Message> serverEmailList, IContext context) throws EmailConnectorException, CoreException {     [javac]                                                 ^     [javac]   symbol:   class EmailAccount     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:41: error: cannot find symbol     [javac]     public static void setReceiveAccountConfigurations(EmailAccount mxEmailAccount, ReceiveEmailAccount serverAccount) throws CoreException, EmailConnectorException {     [javac]                                                        ^     [javac]   symbol:   class EmailAccount     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:53: error: cannot find symbol     [javac]     private static void setCommonAccountConfiguration(EmailAccount mxEmailAccount, Account serverAccount) {     [javac]                                                       ^     [javac]   symbol:   class EmailAccount     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:64: error: cannot find symbol     [javac]     private static void processAttachment(Message serverMessage, EmailMessage mxEmailMessage, boolean processInlineAttachment,IContext context) throws EmailConnectorException {     [javac]                                                                  ^     [javac]   symbol:   class EmailMessage     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:88: error: cannot find symbol     [javac]     private static void displayInlineAttachment(EmailMessage mxEmailMessage, Attachment serverAttachment, email_connector.proxies.Attachment mxAttachment) {     [javac]                                                 ^     [javac]   symbol:   class EmailMessage     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:88: error: package email_connector.proxies does not exist     [javac]     private static void displayInlineAttachment(EmailMessage mxEmailMessage, Attachment serverAttachment, email_connector.proxies.Attachment mxAttachment) {     [javac]                                                                                                                                  ^     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:97: error: cannot find symbol     [javac]     private static EmailMessage getMxEmailMessage(EmailAccount mxEmailAccount, Message serverMessage, IContext context) throws EmailConnectorException, CoreException {     [javac]                                                   ^     [javac]   symbol:   class EmailAccount     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:97: error: cannot find symbol     [javac]     private static EmailMessage getMxEmailMessage(EmailAccount mxEmailAccount, Message serverMessage, IContext context) throws EmailConnectorException, CoreException {     [javac]                    ^     [javac]   symbol:   class EmailMessage     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:131: error: cannot find symbol     [javac]     public static void setSendAccountConfigurations(EmailAccount mxEmailAccount, SendEmailAccount serverAccount, Pk12Certificate pkcsCertficate, email_connector.proxies.LDAPConfiguration mxLdapConfiguration, IContext context) throws CoreException, EmailConnectorException {     [javac]                                                     ^     [javac]   symbol:   class EmailAccount     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:131: error: cannot find symbol     [javac]     public static void setSendAccountConfigurations(EmailAccount mxEmailAccount, SendEmailAccount serverAccount, Pk12Certificate pkcsCertficate, email_connector.proxies.LDAPConfiguration mxLdapConfiguration, IContext context) throws CoreException, EmailConnectorException {     [javac]                                                                                                                  ^     [javac]   symbol:   class Pk12Certificate     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:131: error: package email_connector.proxies does not exist     [javac]     public static void setSendAccountConfigurations(EmailAccount mxEmailAccount, SendEmailAccount serverAccount, Pk12Certificate pkcsCertficate, email_connector.proxies.LDAPConfiguration mxLdapConfiguration, IContext context) throws CoreException, EmailConnectorException {     [javac]                                                                                                                                                                         ^     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:159: error: cannot find symbol     [javac]     public static void setServerSendEmailMessage(EmailMessage emailMessage, SendEmailMessage sendEmailMsg, List<email_connector.proxies.Attachment> attachmentList, IContext context) throws EmailConnectorException {     [javac]                                                  ^     [javac]   symbol:   class EmailMessage     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:159: error: package email_connector.proxies does not exist     [javac]     public static void setServerSendEmailMessage(EmailMessage emailMessage, SendEmailMessage sendEmailMsg, List<email_connector.proxies.Attachment> attachmentList, IContext context) throws EmailConnectorException {     [javac]                                                                                                                                        ^     [javac]..\javasource\emailconnector\implementation\MxMailMapper.java:195: error: cannot find symbol     [javac]     private static void setRecipients(EmailMessage emailMessage, SendEmailMessage sendEmailMsg) {     [javac]                                       ^     [javac]   symbol:   class EmailMessage     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:209: error: package email_connector.proxies does not exist     [javac]     public static void getMappedEmailProvider(IContext context, EmailProvider emailProviders, email_connector.proxies.EmailProvider mxEmailProvider) throws EmailConnectorException {     [javac]                                                                                                                      ^     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:233: error: cannot find symbol     [javac]     public static EmailMessage getEmailMessageFromTemplate(IContext context, EmailTemplate emailTemplate, Boolean queued) {     [javac]                                                                              ^     [javac]   symbol:   class EmailTemplate     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:233: error: cannot find symbol     [javac]     public static EmailMessage getEmailMessageFromTemplate(IContext context, EmailTemplate emailTemplate, Boolean queued) {     [javac]                   ^     [javac]   symbol:   class EmailMessage     [javac]   location: class MxMailMapper     [javac] ..\javasource\emailconnector\implementation\MxMailMapper.java:13: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.*;     [javac] ^     [javac] ..\javasource\emailconnector\implementation\NotificationListener.java:13: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.EmailAccount;     [javac]                               ^     [javac] ..\javasource\emailconnector\implementation\NotificationListener.java:14: error: package email_connector.proxies.constants does not exist     [javac] import email_connector.proxies.constants.Constants;     [javac]                                         ^     [javac] ..\javasource\emailconnector\implementation\NotificationListener.java:25: error: cannot find symbol     [javac]     private final EmailAccount emailAccount;     [javac]                   ^     [javac]   symbol:   class EmailAccount     [javac]   location: class NotificationListener     [javac] ..\javasource\emailconnector\implementation\NotificationListener.java:27: error: cannot find symbol     [javac]     public NotificationListener(String emailReceivedMicroflow, String subscriptionStateChangedMicroflow, EmailAccount emailAccount) {     [javac]                                                                                                          ^     [javac]   symbol:   class EmailAccount     [javac]   location: class NotificationListener     [javac] ..\javasource\emailconnector\implementation\OAuthTokenWorker.java:7: error: package email_connector.proxies does not exist     [javac] import email_connector.proxies.EmailAccount;     [javac]                               ^     [javac] ..javasource\emailconnector\implementation\OAuthTokenWorker.java:8: error: package email_connector.proxies.microflows does not exist     [javac] import email_connector.proxies.microflows.Microflows;     [javac]                                          ^     [javac] ..\javasource\emailconnector\implementation\OAuthTokenWorker.java:11: error: cannot find symbol     [javac]     EmailAccount emailAccount;     [javac]     ^     [javac]   symbol:   class EmailAccount     [javac]   location: class OAuthTokenWorker     [javac] ..\javasource\emailconnector\implementation\OAuthTokenWorker.java:13: error: cannot find symbol     [javac]     public OAuthTokenWorker(EmailAccount emailAccount) {     [javac]                             ^     [javac]   symbol:   class EmailAccount     [javac]   location: class OAuthTokenWorker     [javac] 54 errors BUILD FAILED ..\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 14 seconds   Kindly help me to overcome this compilation issue.   Thanks and Regards, Sravani
asked
1 answers
2

Hi Gellu Sravani,

 

Could you try to clean the deployment directory? This can be done through "App > Clean deployment directory”. Also, make sure your project directory is in sync by clicking F4 (or “App > Synchronize app directory”).

 

Regards, Jeroen

answered