You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Chandan Singh <ma...@gmail.com> on 2023/04/08 15:48:03 UTC

Upgrading from mina-core ( 1.7.1 ) to Mina-core 2.2.1

Hi All ,

I am looking to upgrade  from mina-core  1.7.1  version to  2.2.1  but
getting compilation issue stating packages not found as shown below ,
Please let me know how to resolve these

*package org.apache.mina.common does not exist*



* cannot find symbol[ERROR]   symbol:   class SocketSessionConfig[ERROR]
location: package org.apache.mina.transport.socket.nio*


*Regards*
*Chandan*

Re: Upgrading from mina-core ( 1.7.1 ) to Mina-core 2.2.1

Posted by Emmanuel Lécharny <el...@gmail.com>.
Mina 1.1 is defunct for now 15 years...

On 10/04/2023 15:22, Chandan Singh wrote:
> Thanks for the response  , Do we have  any page to refer to migrate  to 1.x
> to  2.x  ?
> 
> Regards
> Chandan
> 
> On Sun, Apr 9, 2023 at 7:26 PM Jonathan Valliere <jo...@apache.org> wrote:
> 
>> We also likely broke some things between 2.1 and 2.2 (some debate about
>> whether we should be at 3.0 despite it already exists in a very old branch)
>>
>> On Sun, Apr 9, 2023 at 9:54 AM Isaac M <is...@gmail.com> wrote:
>>
>>> A lot has changed since the old version and likely refactored to a
>>> different package. See ProxyTcpSessionConfig.java
>>> <
>>> https://github.com/apache/mina/blob/trunk/core/src/main/java/org/apache/mina/transport/tcp/ProxyTcpSessionConfig.java
>>>>
>>>
>>> On Sat, Apr 8, 2023 at 11:48 AM Chandan Singh <
>>> mailbox.chandansingh@gmail.com> wrote:
>>>
>>>> Hi All ,
>>>>
>>>> I am looking to upgrade  from mina-core  1.7.1  version to  2.2.1  but
>>>> getting compilation issue stating packages not found as shown below ,
>>>> Please let me know how to resolve these
>>>>
>>>> *package org.apache.mina.common does not exist*
>>>>
>>>>
>>>>
>>>> * cannot find symbol[ERROR]   symbol:   class SocketSessionConfig[ERROR]
>>>> location: package org.apache.mina.transport.socket.nio*
>>>>
>>>>
>>>> *Regards*
>>>> *Chandan*
>>>>
>>>
>>
> 

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@mina.apache.org
For additional commands, e-mail: users-help@mina.apache.org


Re: Upgrading from mina-core ( 1.7.1 ) to Mina-core 2.2.1

Posted by Chandan Singh <ma...@gmail.com>.
Thanks for the response  , Do we have  any page to refer to migrate  to 1.x
to  2.x  ?

Regards
Chandan

On Sun, Apr 9, 2023 at 7:26 PM Jonathan Valliere <jo...@apache.org> wrote:

> We also likely broke some things between 2.1 and 2.2 (some debate about
> whether we should be at 3.0 despite it already exists in a very old branch)
>
> On Sun, Apr 9, 2023 at 9:54 AM Isaac M <is...@gmail.com> wrote:
>
>> A lot has changed since the old version and likely refactored to a
>> different package. See ProxyTcpSessionConfig.java
>> <
>> https://github.com/apache/mina/blob/trunk/core/src/main/java/org/apache/mina/transport/tcp/ProxyTcpSessionConfig.java
>> >
>>
>> On Sat, Apr 8, 2023 at 11:48 AM Chandan Singh <
>> mailbox.chandansingh@gmail.com> wrote:
>>
>> > Hi All ,
>> >
>> > I am looking to upgrade  from mina-core  1.7.1  version to  2.2.1  but
>> > getting compilation issue stating packages not found as shown below ,
>> > Please let me know how to resolve these
>> >
>> > *package org.apache.mina.common does not exist*
>> >
>> >
>> >
>> > * cannot find symbol[ERROR]   symbol:   class SocketSessionConfig[ERROR]
>> > location: package org.apache.mina.transport.socket.nio*
>> >
>> >
>> > *Regards*
>> > *Chandan*
>> >
>>
>

Re: Upgrading from mina-core ( 1.7.1 ) to Mina-core 2.2.1

Posted by Jonathan Valliere <jo...@apache.org>.
We also likely broke some things between 2.1 and 2.2 (some debate about
whether we should be at 3.0 despite it already exists in a very old branch)

On Sun, Apr 9, 2023 at 9:54 AM Isaac M <is...@gmail.com> wrote:

> A lot has changed since the old version and likely refactored to a
> different package. See ProxyTcpSessionConfig.java
> <
> https://github.com/apache/mina/blob/trunk/core/src/main/java/org/apache/mina/transport/tcp/ProxyTcpSessionConfig.java
> >
>
> On Sat, Apr 8, 2023 at 11:48 AM Chandan Singh <
> mailbox.chandansingh@gmail.com> wrote:
>
> > Hi All ,
> >
> > I am looking to upgrade  from mina-core  1.7.1  version to  2.2.1  but
> > getting compilation issue stating packages not found as shown below ,
> > Please let me know how to resolve these
> >
> > *package org.apache.mina.common does not exist*
> >
> >
> >
> > * cannot find symbol[ERROR]   symbol:   class SocketSessionConfig[ERROR]
> > location: package org.apache.mina.transport.socket.nio*
> >
> >
> > *Regards*
> > *Chandan*
> >
>

Re: Upgrading from mina-core ( 1.7.1 ) to Mina-core 2.2.1

Posted by Isaac M <is...@gmail.com>.
A lot has changed since the old version and likely refactored to a
different package. See ProxyTcpSessionConfig.java
<https://github.com/apache/mina/blob/trunk/core/src/main/java/org/apache/mina/transport/tcp/ProxyTcpSessionConfig.java>

On Sat, Apr 8, 2023 at 11:48 AM Chandan Singh <
mailbox.chandansingh@gmail.com> wrote:

> Hi All ,
>
> I am looking to upgrade  from mina-core  1.7.1  version to  2.2.1  but
> getting compilation issue stating packages not found as shown below ,
> Please let me know how to resolve these
>
> *package org.apache.mina.common does not exist*
>
>
>
> * cannot find symbol[ERROR]   symbol:   class SocketSessionConfig[ERROR]
> location: package org.apache.mina.transport.socket.nio*
>
>
> *Regards*
> *Chandan*
>