java – Problema com mapeamento no Spring Boot

Olá, tenho a seguinte estrutura de projetos usando Spring Boot e estou tendo problemas es criar os beans deles:

projeto1: com.portal (serviço spring-boot)

contem os @Controllers

projeto2: com.service

contem os @Service e @Component

projeto3: com.model

contem os @Repository

O projeto portal não conversa com o model somente com o service, que por sua vez conversa com o model.

Mas na hora de subir o serviço do projeto1 com.portal, da um erro dizendo que não consegue acessar uma classe do projeto com.model, que acredito que esteja correto pois o portal não tem acesso as classes do model.

Existe alguma forma de contornar isso no spring boot ou estou fazendo a estrutura de projetos errado?

boot – Ubuntu booting up, weird text gets displayed and then it shuts down

When I select Ubuntu (18.04) from grub menu it leads to this (https://i.imgur.com/hBHzLvz.jpg) weird text wall. It stays like this and I have to press the power button to issue a response. After which it loads the starting ubuntu screen, and then shuts down in a minute. I have it dual booted with Windows.

Now the text shown has changed a bit: https://i.imgur.com/NZJMj1z.jpg

boot loop – Nexus 6P Bootlooping, can’t go to recovery mode, tried multiple flashes, used Nexus Root Toolkit. Is my device gone forever?

As you guys may know, the Nexus 6P has a notorious bootlooping issue. After trying multiple flashes, and even going to WugFresh’s Nexus Root Toolkit, I had no avail for any signs that my device was fixed. I can’t go to recovery mode either because it bootloops there too. My question is that is my device gone forever? Can I no longer fix it? Thanks in advance.

dual boot – So many different Flavours?

Looking for the best Ubuntu to compliment my windows 7 machine. Any suggestions? I am not really experienced with Ubuntu, having just used 20.04 twice but I like it. I don’t think my Dell Studio will run this version. I am running windows 7 home premium. I have a 1 TB HDD and 8 GB ram. I will probably use live session until I decide whether I like it or not. Maaybe Dual boot.

dual boot – Ubuntu deleting files on NTFS Partition automatically

I was cloning a repo but as shown as soon as it got cloned and i entered to open it in my ubuntu(20.04) it dissappeared, it has happened before once but i didn’t care as file was not important it only seems happens when i am cloning (yes only cloned repositories and couple of .mp4 got corrupted don’t know if videos are related to this) into my ntfs hdd which i share with windows (dual- boot) so i tried looking for it and i found my old folder that dissappeared in .trash-1000. but no sign of folder that got deleted today. Does it have something to do with partition being ntfs?
found more video file it has been deleting in found.000.

boot – Help loading Ubuntu from Grub. Grub can’t find flash partiton

I installed Ubuntu on a partition of a MicroSD card on a laptop running Windows 10 on the internal drive. Attempting to boot to Ubuntu flashes i get grub in recovery mode
grub recovery mode

The problem is that ls command don’t show the flahcard hd1, only the internal hd0. Obiouvsly Grub can’t boot ubuntu.
Why?

spring boot – Dúvidas sobre Branchs git [INTELLIJ IDEA]

Meu problema é o seguinte to fazendo um projeto e to começando a usar o GIT para versionamento , eu to usando a própria integração do GIT com o IntelliJ IDEA(eu acho muito complicado os comandos de terminal) , to aprendendo a como usar branchs , só que to tendo um problema.

inserir a descrição da imagem aqui

Cheguei na Branch C , uma versão estável no meu sistema porém acreditando que as próxima implementações possam quebrar essa estabilidade , criei uma nova Branch D para poder alterar o código da maneira que eu quiser com a segurança que se tudo der errado vou poder voltar pra C sem problemas. Porém as alterações que eu to fazendo em D estão sendo levadas pra C mesmo sem eu dar commit. Eu não sei se isso é normal ou se eu mexi em alguma configuração do IntelliJ.

ubuntu – Default Boot device is missing or Boot failed

2 weeks ago I upgraded Ubuntu 16.04 but it crashed. So I had to install Ubuntu 20.04. I was already having Windows 10 as dual run option. a week ago, I noticed issues with my laptop;

enter image description here

If I remember correctly, I faced the issue first time when I used chromium first time. I restarted the laptop in Ubuntu. Login screen appeared and it again shown CLI with errors given in above screen. I took some time and restarted my laptop and everything was fine. However I faced the problem where I was not able to see any icons.

enter image description here

I faced the problem next day again. I checked BIOS settings and I was able to see all the drives. This time it reported that “Default Boot device is missing or Boot failed”. I again restarted. This time it neither shown the error nor the boot menu. And directly started Windows OS (Ubuntu is default).

I tried to login in windows, I was just exploring in Windows and it crashed to blue screen and restarted the laptop again. But shown me the boot menu and I was able to open Ubuntu again.

Today morning, when I open the lid, it was black screen. So I had to hard reboot. But now it is giving the same error of boot disk.

When I checked in the BIOS, there was no drive;

enter image description here

But after few attempts, I can see them again;

enter image description here

However, I’m still facing the issue. So what can be the possible problem and solution? Can it be because of loose wire connections? OR corrupted MBR or disk?

More detail; I have 256GB SSD and 1TB HDD. When I started Disks Utility from USB Ubuntu, I can’t see SSD drive.

enter image description here

mount mdadm / bcache device at boot failing

I am setting up an mdadm raid1 array with an nvme ssd as a cache drive. I followed this instruction https://www.kernel.org/doc/html/latest/admin-guide/bcache.html to set it up

everything works fine, except that when I reboot the server, it doesn’t automatically mount /dev/bcache to the assigned mount point. i’ve used both the uuid and /dev/bcache0 as the block device.

looking at my logs, it seems that the device does not exit. this is the case both when using the uuid and devicename.

I am able to mount the cache drive with a simple mount command after logging in

mount /dev/bcache0 /mnt/data

I suppose I could put this into a small script and execute it on boot.

however, it seems like something else is going on. I just cant figure out what.

output of bcache-super-show
the caching drive

root@myserver:~# bcache-super-show -f /dev/nvme0n1 
sb.magic        ok
sb.first_sector     8 (match)
sb.csum         5ADC6C06FB475340 (match)
sb.version      3 (cache device)

dev.label       (empty)
dev.uuid        f487b49a-6dfe-49ac-92fb-068de55f6819
dev.sectors_per_block   1
dev.sectors_per_bucket  1024
dev.cache.first_sector  1024
dev.cache.cache_sectors 976772096
dev.cache.total_sectors 976773120
dev.cache.ordered   yes
dev.cache.discard   no
dev.cache.pos       0
dev.cache.replacement   0 (lru)

the raid array

root@myserver:~# bcache-super-show -f /dev/md0 
sb.magic        ok
sb.first_sector     8 (match)
sb.csum         9BFF2141F59F596D (match)
sb.version      1 (backing device)

dev.label       (empty)
dev.uuid        d4cc3cdc-4626-4c65-a72f-9cf52b6ad2f0
dev.sectors_per_block   1
dev.sectors_per_bucket  1024
dev.data.first_sector   16
dev.data.cache_mode 1 (writeback)
dev.data.cache_state    1 (clean)

cset.uuid       ec7e2e05-c138-41fb-85b0-5d1b14a2ab0f

boot – No grubloader menu after installing Ubuntu Budgie with windows 10 Pre-Installed (Different Drives)

(advance sorry about my English. I’m not a native English speaker)
This is the First time I’m doing the Dual Boot thing, and I am new to Linux as well. I followed some YouTube procedure. Everything went well. But the grub loader is missing. When I turn on the System it directly boots into Windows 10.

During startup, if I press F11, then windows 10 and Ubuntu shows up there in the boot options menu, and i can log into Ubuntu no problem. and the grub menu also shows up before it boots into Ubuntu OS and both Ubuntu and windows 10 is present in that menu.
But it doesn’t appear automatically without pressing F11 during Boot up process.

I tried to reinstall/repair the grub menu by inside Ubuntu by using boot-repair commands(Recommended repair option). It didn’t work for me.

I am using an MSI B450 motherboard and I tried to change the boot order by moving the hard drive in which I installed Ubuntu, but there only hard disk on which I installed windows 10 shows up and the other hard drive doesn’t appear at all.

when I logged-in to windows 10 I opened advanced system settings and checked default OS, there only windows 10 option is there. Ubuntu is not there either

Please help me with this problem.