Have you clicked on the “Reload” icon in the Maven tab after building? Sometimes IntelliJ needs to detect the generated code directories.
Chris From: Willem Remie <[email protected]> Date: Sunday, 20. November 2022 at 10:35 To: [email protected] <[email protected]> Subject: RE: IntelliJ project build fails Some packages seem to have problems with resolving symbols even with build succeeding. For instance, the generic types in most drivers such as OpcuaAPU (OpcuaPlcDriver), Ethernet_Frame (ProfinetDriver), or TPKTPacket (S7Driver). Willem -----Original Message----- From: Christofer Dutz <[email protected]> Sent: Sunday, 20 November 2022 09:18 To: [email protected] Subject: Re: IntelliJ project build fails Which symbols is it missing? Holen Sie sich Outlook für Android<https://aka.ms/AAb9ysg> ________________________________ From: Willem Remie <[email protected]> Sent: Sunday, November 20, 2022 12:43:40 AM To: [email protected] <[email protected]> Subject: RE: IntelliJ project build fails Hi Chris, Well, I've built the project using maven, both with package and install, and still IntelliJ fails to resolve the symbols. Seems like a mismatch between Maven and IntelliJ somehow. I've installed latest IntelliJ IDEA 2022.2.3. Willem -----Original Message----- From: Christofer Dutz <[email protected] Sent: Saturday, 19 November 2022 16:40 To: [email protected] Subject: Re: IntelliJ project build fails Hi Willem, I guess the problem is that you haven’t built PLC4X using maven yet. The missing symbols, that you are referring to usually get generated during the build. So please just run a maven “package” build, or “install”, or whatever you prefer. This will build the Java part of PLC4X and hereby generate the missing types. Chris From: Willem Remie <[email protected]> Date: Saturday, 19. November 2022 at 16:37 To: [email protected] <[email protected]> Subject: IntelliJ project build fails Hi all, I’m wondering if someone could help me out properly setting up IntelliJ IDEA for this project. For some reason the build fails and the IDE is unable to resolve symbols. However, the maven commands run perfectly fine. Does this sound familiar to anyone using the same IDE? Regards, Willem
